diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-03-10 22:23:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-09 08:27:04 +0100 |
commit | e37119c3583cc9da95624f4fcd969234285a8ad3 (patch) | |
tree | 6ffefe0fafa22b1b54e38caa0528af32cfcfc5f3 | |
parent | 33cf6f26b2254368ffdfcd9e79228bf750d0383c (diff) | |
download | poky-e37119c3583cc9da95624f4fcd969234285a8ad3.tar.gz |
oe-pkgdata-util: Adapt to the new variable override syntax
(From OE-Core rev: 8d44f3d72af8791ef526eea12710f7b8b6c3d750)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bf6a0ca9fdf639418646700b20b65c9960efdbe)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/oe-pkgdata-util | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util index 71656dadce..7412cc1f47 100755 --- a/scripts/oe-pkgdata-util +++ b/scripts/oe-pkgdata-util | |||
@@ -296,7 +296,7 @@ def package_info(args): | |||
296 | extra = '' | 296 | extra = '' |
297 | for line in f: | 297 | for line in f: |
298 | for var in vars: | 298 | for var in vars: |
299 | m = re.match(var + '(?:_\S+)?:\s*(.+?)\s*$', line) | 299 | m = re.match(var + '(?::\S+)?:\s*(.+?)\s*$', line) |
300 | if m: | 300 | if m: |
301 | vals[var] = m.group(1) | 301 | vals[var] = m.group(1) |
302 | pkg_version = vals['PKGV'] or '' | 302 | pkg_version = vals['PKGV'] or '' |