use blacklist class from meta-oe
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
# anonymous support class for 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)
|
||||
|
||||
if blacklist:
|
||||
bb.note("Angstrom DOES NOT support %s because %s" % (pkgnm, blacklist))
|
||||
raise bb.parse.SkipPackage("Angstrom DOES NOT support %s because %s" % (pkgnm, blacklist))
|
||||
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ INHERIT += "debian"
|
||||
INHERIT += "sanity"
|
||||
|
||||
#activate the blacklister
|
||||
INHERIT += "angstrom-blacklist"
|
||||
INHERIT += "blacklist"
|
||||
|
||||
#make devshell available as task
|
||||
INHERIT += "devshell"
|
||||
|
||||
Reference in New Issue
Block a user