From 68a72241d56b3daec21f780235d34a84efb06b0b Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Tue, 28 Mar 2006 10:00:09 +0000 Subject: [PATCH] grub: substitute the anonymous python function w/ COMPATIBLE_HOST --- packages/grub/grub_0.93.bb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/grub/grub_0.93.bb b/packages/grub/grub_0.93.bb index d67247ccff..8341184476 100644 --- a/packages/grub/grub_0.93.bb +++ b/packages/grub/grub_0.93.bb @@ -1,5 +1,6 @@ +DESCRIPTION = "GRUB is the GRand Unified Bootloader" SECTION = "base" -DESCRIPTION = "grand unified bootloader" +HOMEPAGE = "http://www.gnu.org/software/grub" SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz; \ file://autohell.patch;patch=1 \ @@ -10,9 +11,4 @@ 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) -} +COMPATIBLE_HOST = 'i.86.*-linux' -- 2.39.5