Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 597 Bytes
# anonymous support class from angstrom
#
# Features:
#
# * blacklist handling, set ANGSTROM_BLACKLIST_pn-blah = "message"
#
python () {
import bb
blacklist = d.getVar("PN_BLACKLIST", True)
if not blacklist:
basePackage = d.getVar("BPN", True)
packageName = d.getVar("PN", True)
mlPrefix = d.getVar("MLPREFIX", True)
if ( packageName == mlPrefix + basePackage ):
blacklist = d.getVar("PN_BLACKLIST_pn-%s" % basePackage, True)
if blacklist:
bb.debug(1, "%s" % (blacklist))
raise bb.parse.SkipPackage("%s" % (blacklist))
}
You can’t perform that action at this time.