aboutsummaryrefslogtreecommitdiffstats
path: root/packages/grub/grub_0.93.bb
blob: d67247ccffb22a41b7d8105237916257f70d9255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SECTION = "base"
DESCRIPTION = "grand unified bootloader"

SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz; \
	   file://autohell.patch;patch=1 \
	   file://memcpy.patch;patch=1 \
	   file://reiserfs.patch;patch=1"

S = "${WORKDIR}/grub-${PV}"

inherit autotools

python __anonymous () {
	import re
	host = bb.data.getVar('HOST_SYS', d, 1)
	if not re.match('i.86.*-linux', host):
		raise bb.parse.SkipPackage("incompatible with host %s" % host)
}