path: root/meta-openstack/recipes-kernel/linux
diff options
authorMark Asselstine <mark.asselstine@windriver.com>2014-09-25 15:16:33 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-09-29 00:48:27 -0400
commitde48084e062d8ec186a181155d36b63bdc201742 (patch)
treeafede397c7fc900f090ef76156928c36bbdf7384 /meta-openstack/recipes-kernel/linux
parent65c6f6c3236b39e661578a5381d82175e331ac9f (diff)
housekeeping: Add a non-numeric PR prefix to allow PRINC in bbappendsicehouse
Although the use of PRINC is deprecated in later versions of Yocto it may still be used and if you are using this layer with older Yocto it is recommended for use in bbappends. It is therefore expected to work. PRINC expects a non-numeric prefix followed by a numeric value, as can be seen in base.bbclass pr_prefix = re.search("\D+",pr) prval = re.search("\d+",pr) if pr_prefix is None or prval is None: bb.error("Unable to analyse format of PR variable: %s" % pr) Failing to stick to this convention yields a parsing error when you attempt to use PRINC: ERROR: Unable to analyse format of PR variable Adding the non-numeric prefix allows PRINC use in bbappends to function correctly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-kernel/linux')
0 files changed, 0 insertions, 0 deletions