mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:44:04 +02:00
tweak grub install in x86 ext2 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5970 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
76a8dfe8fc
commit
7cf939cd11
@ -32,10 +32,11 @@ dd if="$ROOTFSIMAGE" of="$OUTPUT" bs=512 seek="$ROOTFSOFFSET" conv=notrunc
|
||||
#rm -f "$OUTPUT.kernel"
|
||||
|
||||
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
|
||||
geometry (hd0) $cyl $head $sect
|
||||
root (hd0,0)
|
||||
setup (hd0)
|
||||
quit
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user