diff options
Diffstat (limited to 'scripts/create.sh')
| -rwxr-xr-x | scripts/create.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/create.sh b/scripts/create.sh index cee6b5bcb..7ca6b3a3b 100755 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -2,7 +2,7 @@ #- # Copyright © 2010, 2011, 2012 # Thorsten Glaser <tg@mirbsd.org> -# Copyright © 2010-2024 +# Copyright © 2010-2025 # Waldemar Brodkorb <wbx@openadk.org> # # Provided that these terms and disclaimer and all copyright notices @@ -56,7 +56,7 @@ Syntax: $me [-c cfgfssize] [+g] [-i imagesize] [-p panictime] Explanation/Defaults: -c: minimum 0, maximum 5, default 1 (MiB) -g: enable installing GNU GRUB 2 - -i: total image, default 2048 (MiB; max. approx. 2 TiB) + -i: total image, default 512 (MiB; max. approx. 2 TiB) -p: default 10 (seconds; 0 disables; max. 300) -s: default 115200 (bps, others: 9600 19200 38400 57600) -t: enable serial console (+t disables it, default) @@ -67,7 +67,7 @@ EOF cfgfs=1 usegrub=0 -tgtmib=2048 +tgtmib=512 panicreboot=10 speed=115200 serial=0 @@ -152,7 +152,7 @@ else fi if (( usegrub )); then - tar -xOJf "$src" boot/grub/core.img >"$T/core.img" + tar -xOzf "$src" boot/grub/core.img >"$T/core.img" integer coreimgsz=$($statcmd "$T/core.img") if (( coreimgsz < 1024 )); then print -u2 core.img is probably too small: $coreimgsz |
