blacklist: fix typo in name

(From OE-Core rev: 02a5fe21cad2ec29268de7f3a556bb827f726998)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

Import directly from meta-openembedded commit: 	a63c374cdc785ade69d2998978d08280e671dc1f

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mark Hatle 2012-05-09 10:21:35 -05:00 committed by Richard Purdie
parent 710f12e1cd
commit 866424804e
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# anonymous support class from angstrom
#
# Features:
#
# * blacklist handling, set ANGSTROM_BLACKLIST_pn-blah = "message"
#
python () {
import bb
blacklist = bb.data.getVar("ANGSTROM_BLACKLIST", d, 1)
pkgnm = bb.data.getVar("PN", d, 1)
distro = bb.data.getVar("DISTRO", d, 1)
if blacklist:
bb.note("%s DOES NOT support %s because %s" % (distro,pkgnm, blacklist))
raise bb.parse.SkipPackage("%s DOES NOT support %s because %s" % (distro,pkgnm, blacklist))
}