diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2016-10-05 17:30:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-05 23:22:33 +0100 |
commit | ac4ca41d3a27356d46c0c39053e74d3519b24c44 (patch) | |
tree | 032f09d458555ad826f0836cc6ab0285170b17bb /scripts/lib/recipetool/create.py | |
parent | dadb84936b3672dcf07e5ab8226158136762801f (diff) | |
download | openembedded-core-ac4ca41d3a27356d46c0c39053e74d3519b24c44.tar.gz openembedded-core-ac4ca41d3a27356d46c0c39053e74d3519b24c44.tar.bz2 openembedded-core-ac4ca41d3a27356d46c0c39053e74d3519b24c44.zip |
package_manager.py: Allow a leading - in PACKAGE_EXCLUDE_COMPLEMENTARY
This allows a regular expression specified in
PACKAGE_EXCLUDE_COMPLEMENTARY to have a leading dash. Without this,
the dash was treated by oe-pkgdata-util as the beginning of a command
line argument. E.g., if PACKAGE_EXCLUDE_COMPLEMENTARY = "-foo$", it
resulted in an error like:
ERROR: <imagename>-1.0-r0 do_populate_sdk: Could not compute
complementary packages list. Command '<topdir>/scripts/oe-pkgdata-util -p
<builddir>/tmp/sysroots/<machine>/pkgdata glob
<workdir>/installed_pkgs.txt *-dev *-dbg -x -foo$' returned 2:
ERROR: argument -x/--exclude: expected one argument
usage: oe-pkgdata-util glob [-h] [-x EXCLUDE] pkglistfile glob [glob ...]
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create.py')
0 files changed, 0 insertions, 0 deletions