mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-03-09 15:39:58 +00:00
Add Linux, libguestfs for building bootdisks within the Docker container. Add CPU_STRING to optionally override the whole CPU string. Unify variable names in ./custom.
This commit is contained in:
parent
4ffed54724
commit
9e5538c195
5 changed files with 75 additions and 62 deletions
|
@ -89,21 +89,22 @@ function fish_fini() {
|
|||
fish umount-all
|
||||
}
|
||||
|
||||
# disabled by sick.codes to allow unattended image overwrites
|
||||
######################################################################
|
||||
# sanity checks
|
||||
|
||||
if test ! -f "$cfg"; then
|
||||
echo "ERROR: cfg not found: $cfg"
|
||||
exit 1
|
||||
fi
|
||||
if test -f "$img"; then
|
||||
if test "$allow_override" = "yes"; then
|
||||
rm -f "$img"
|
||||
else
|
||||
echo "ERROR: image exists: $img"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
# if test ! -f "$cfg"; then
|
||||
# echo "ERROR: cfg not found: $cfg"
|
||||
# exit 1
|
||||
# fi
|
||||
# if test -f "$img"; then
|
||||
# if test "$allow_override" = "yes"; then
|
||||
# rm -f "$img"
|
||||
# else
|
||||
# echo "ERROR: image exists: $img"
|
||||
# exit 1
|
||||
# fi
|
||||
# fi
|
||||
|
||||
######################################################################
|
||||
# go!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue