diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-03-17 10:21:15 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-03-17 10:52:50 +0100 |
commit | fe5a00f18ff141226a68917a29765b1ea7dd25f2 (patch) | |
tree | 72205f1685232fe098d659c57902b6cfa3740937 /scripts | |
parent | 69bd78993a96e8ec37456fcb6727d5cca5d536f3 (diff) | |
download | ptxdist-fe5a00f18ff141226a68917a29765b1ea7dd25f2.tar.gz ptxdist-fe5a00f18ff141226a68917a29765b1ea7dd25f2.tar.xz |
image_hd: fix installing grub
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_bootable.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_make_bootable.sh b/scripts/lib/ptxd_make_bootable.sh index c702ef461..b32b4e3ee 100644 --- a/scripts/lib/ptxd_make_bootable.sh +++ b/scripts/lib/ptxd_make_bootable.sh @@ -25,7 +25,7 @@ ptxd_make_bootable() { local stage1="$3" local stage2="$4" local opt="conv=notrunc" - local opt2 + local opt2="seek=1" if [ ! -w "${image}" ]; then ptxd_bailout "Cannot write image file '${stage1}'" @@ -35,7 +35,7 @@ ptxd_make_bootable() { fi if [ -z "${stage2}" ]; then stage2="${stage1}" - opt2="${opt} seek=1 skip=1" + opt2="${opt2} skip=1" elif [ ! -r "${stage2}" ]; then ptxd_bailout "Cannot open stage2 file '${stage1}'" else |