projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
x86: split generic image building into a separate script
[openwrt.git]
/
target
/
linux
/
x86
/
image
/
gen_image_grub.sh
1
#!/usr/bin/env bash
2
# Copyright (C) 2006-2010 OpenWrt.org
3
. ./gen_image_generic.sh
4
5
which chpax >/dev/null && chpax -zp $(which grub)
6
grub --batch --no-curses --no-floppy --device-map=/dev/null <<EOF
7
device (hd0) $OUTPUT
8
geometry (hd0) $cyl $head $sect
9
root (hd0,0)
10
setup (hd0)
11
quit
12
EOF
13