opendreambox-srcrev: blacklist mkbootblob and recovery from AUTOREV until release
[opendreambox.git] / meta-opendreambox / classes / opendreambox-srcrev.bbclass
1 def opendreambox_srcrev(srcrev, d):
2     blacklist = ('mkbootblob', 'recovery')
3     if d.getVar('BPN', True) in blacklist:
4         return srcrev
5     if oe.utils.inherits(d, 'opendreambox-autorev'):
6         return '${AUTOREV}'
7     return srcrev