mirror of
https://github.com/sickcodes/osx-serial-generator.git
synced 2025-01-16 03:06:43 +00:00
Fix --plists --bootdisks logic
This commit is contained in:
parent
0830eb49df
commit
ecbac8b7dd
|
@ -46,16 +46,19 @@ Used at runtime in [Docker-OSX](https://github.com/sickcodes/Docker-OSX).
|
|||
|
||||
```bash
|
||||
# Ubuntu/Debian/Pop
|
||||
sudo apt update -y && sudo apt install libguestfs-tools build-essential ld wget git -y
|
||||
sudo apt update -y
|
||||
sudo apt install libguestfs-tools build-essential wget git linux-headers-generic -y
|
||||
|
||||
# Fedora, RHEL, CentOS
|
||||
sudo yum install libguestfs wget git -y
|
||||
sudo yum install libguestfs wget git kernel-devel -y
|
||||
sudo yum groupinstall 'Development Tools' -y
|
||||
|
||||
# Arch, Manjaro
|
||||
sudo pacman -Sy libguestfs wget git base-devel
|
||||
sudo pacman -Sy libguestfs wget git base-devel linux
|
||||
|
||||
```
|
||||
* to run inside a docker container, you need to install `linux` inside the container too:
|
||||
|
||||
|
||||
# Generating New Unique Serial Numbers
|
||||
|
||||
|
|
|
@ -280,7 +280,7 @@ EOF
|
|||
echo "Wrote CSV to: ${TSV_SERIAL_SETS_FILE}"
|
||||
|
||||
# make envs if --envs, but also if you set the env filename it will switch on by itself
|
||||
if [ "${CREATE_ENVS}" ] || [ "${OUTPUT_ENV}" ]; then
|
||||
if [ "${CREATE_ENVS}" ] || [ "${OUTPUT_ENV}" ] || [ "${CREATE_PLISTS}" ]; then
|
||||
mkdir -p "${OUTPUT_DIRECTORY}/envs"
|
||||
OUTPUT_ENV_FILE="${OUTPUT_ENV:-"${OUTPUT_DIRECTORY}/envs/${SERIAL}.env.sh"}"
|
||||
touch "${OUTPUT_ENV_FILE}"
|
||||
|
|
Loading…
Reference in a new issue