1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-11 20:04:03 +02:00
openwrt-xburst/target/linux/x86/image/gen_image_grub.sh
nbd e3c123c82b x86: split generic image building into a separate script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:35 +00:00

14 lines
288 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (C) 2006-2010 OpenWrt.org
. ./gen_image_generic.sh
which chpax >/dev/null && chpax -zp $(which grub)
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