summaryrefslogtreecommitdiff
path: root/scripts/create.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-08-10 05:19:55 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-08-10 05:19:55 +0200
commit9ea6420f350de09bbcb9d5141dc652ac6637e2a2 (patch)
treeca8313a562c03dc8202a9477e5f48b3d44050440 /scripts/create.sh
parent8e0f0c9d5b9b4d90fd6b2be0083bee4327d1ed93 (diff)
debug on, check for genext2fs, use 65536 for seeking
Diffstat (limited to 'scripts/create.sh')
-rwxr-xr-xscripts/create.sh10
1 files changed, 4 insertions, 6 deletions
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