mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
oe-pkgdata-util: Adapt to the new variable override syntax
(From OE-Core rev: 2bf6a0ca9fdf639418646700b20b65c9960efdbe) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e6b6e1c0cf
commit
6ad018f213
|
@ -296,7 +296,7 @@ def package_info(args):
|
|||
extra = ''
|
||||
for line in f:
|
||||
for var in vars:
|
||||
m = re.match(var + '(?:_\S+)?:\s*(.+?)\s*$', line)
|
||||
m = re.match(var + '(?::\S+)?:\s*(.+?)\s*$', line)
|
||||
if m:
|
||||
vals[var] = m.group(1)
|
||||
pkg_version = vals['PKGV'] or ''
|
||||
|
|
Loading…
Reference in New Issue
Block a user