blacklist: fix typo in name

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-05-18 15:19:05 +02:00
parent 4344aea563
commit a63c374cdc
+20
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))
}