blob: 7bf4a73a9a6f363318ea81a94abbbbdb5aa83581 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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))
}
|