From 9ea6420f350de09bbcb9d5141dc652ac6637e2a2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 10 Aug 2012 05:19:55 +0200 Subject: debug on, check for genext2fs, use 65536 for seeking --- scripts/create.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'scripts/create.sh') diff --git a/scripts/create.sh b/scripts/create.sh index fa12b4314..e492800c3 100755 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -51,7 +51,7 @@ test -n "$KSH_VERSION" || if ! which mksh >/dev/null 2>&1; then rm -rf build_mksh fi -test -n "$KSH_VERSION" || exec mksh "$me" "$@" +test -n "$KSH_VERSION" || exec mksh -x "$me" "$@" if test -z "$KSH_VERSION"; then echo >&2 Fatal error: could not run myself with mksh! exit 255 @@ -114,7 +114,7 @@ shift $((OPTIND - 1)) (( $# == 2 )) || usage 1 f=0 -tools='mke2fs tune2fs' +tools='genext2fs' case $ostype { (DragonFly|*BSD*) ;; @@ -366,11 +366,9 @@ cp "${grubfiles[@]}" boot/grub/ genext2fs -q -b 524286 -d $T ${tgt}.new (( quiet )) || print Finishing up... -cd "$TOPDIR" - -dd if=${tgt}.new of=$tgt seek=64K +dd if=${tgt}.new of=$tgt seek=65536 -(( quiet )) || print "\nNote: the rootfs UUID is: $partuuid" +cd "$TOPDIR" rm -rf "$T" exit 0 -- cgit v1.2.3