diff options
Diffstat (limited to 'scripts/create.sh')
-rwxr-xr-x | scripts/create.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/create.sh b/scripts/create.sh index 1d0c467d0..cc0099b4d 100755 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -2,7 +2,7 @@ #- # Copyright © 2010, 2011, 2012 # Thorsten Glaser <tg@mirbsd.org> -# Copyright © 2010-2014 +# Copyright © 2010-2024 # Waldemar Brodkorb <wbx@openadk.org> # # Provided that these terms and disclaimer and all copyright notices @@ -238,7 +238,7 @@ print -n "$ostr" | \ print Extracting installation archive... mkdir "$T/src" -xz -dc "$src" | (cd "$T/src"; tar -xpf -) +gunzip -dc "$src" | (cd "$T/src"; tar -xpf -) cd "$T/src" rnddev=/dev/urandom [[ -c /dev/arandom ]] && rnddev=/dev/arandom @@ -275,7 +275,7 @@ fi print "Creating ext2fs filesystem image..." cd "$T" f=0 -genext2fs -U -N 32768 -b $((partfssz)) -d src fsimg || f=1 +genext2fs -U -N 65536 -b $((partfssz)) -d src fsimg || f=1 if (( !f )); then # use bc(1): this may be over the shell’s 32-bit arithmetics wantsz=$($bc <<<"$((partfssz))*1024") |