diff options
| author | sickcodes <[email protected]> | 2021-02-25 08:52:56 +0000 |
|---|---|---|
| committer | sickcodes <[email protected]> | 2021-02-25 08:52:56 +0000 |
| commit | 9e5538c195b30ad55d24e4976a0f9ad67f70a446 (patch) | |
| tree | 3176bec99c2c4398e7e28add815172fb2a1eedd8 /custom/opencore-image-ng.sh | |
| parent | WIP generate-specific-bootdisk.sh (diff) | |
| download | docker-osx-9e5538c195b30ad55d24e4976a0f9ad67f70a446.tar.xz docker-osx-9e5538c195b30ad55d24e4976a0f9ad67f70a446.zip | |
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.
Diffstat (limited to 'custom/opencore-image-ng.sh')
| -rwxr-xr-x | custom/opencore-image-ng.sh | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/custom/opencore-image-ng.sh b/custom/opencore-image-ng.sh index 6cbfe5b..56eaa45 100755 --- a/custom/opencore-image-ng.sh +++ b/custom/opencore-image-ng.sh @@ -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! |