mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 14:47:46 +01:00
tweak grub install in x86 ext2 images
SVN-Revision: 5970
This commit is contained in:
parent
6a3be09b04
commit
e0f251d25f
@ -32,10 +32,11 @@ dd if="$ROOTFSIMAGE" of="$OUTPUT" bs=512 seek="$ROOTFSOFFSET" conv=notrunc
|
|||||||
#rm -f "$OUTPUT.kernel"
|
#rm -f "$OUTPUT.kernel"
|
||||||
|
|
||||||
which chpax >/dev/null && chpax -zp $(which grub)
|
which chpax >/dev/null && chpax -zp $(which grub)
|
||||||
grub --device-map=/dev/null <<EOF
|
grub --batch --no-curses --no-floppy --device-map=/dev/null <<EOF
|
||||||
device (hd0) $OUTPUT
|
device (hd0) $OUTPUT
|
||||||
geometry (hd0) $cyl $head $sect
|
geometry (hd0) $cyl $head $sect
|
||||||
root (hd0,0)
|
root (hd0,0)
|
||||||
setup (hd0)
|
setup (hd0)
|
||||||
|
quit
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user