generic-poky/scripts
Ed Bartosh db7ec6c1ab oe-pkgdata-util: fix AttributeError
The default arparse behaviour in Python 2 and early versions of Python 3
was to print usage message if no subcommands provided by user.
In Python >= 3.2.3 subparser has to have attribute 'required' set to
True to behave similar way.

By default subparser.required attribute is set to False, usage message is
not printed and code continues to be executed.

oe-pkgdata-util code raises AttributeError exception in
this case:
    AttributeError: 'Namespace' object has no attribute 'func'

Fixed this by setting subparser.required to True.

[YOCTO #9711]

(From OE-Core rev: 207dba5b6eb04c1ae2081bac06724b3b6a198cb3)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-07 21:36:20 +01:00
..
contrib scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
lib scripts/lib/bsp/engine.py: Added missing keyword to fix syntax error 2016-06-07 15:16:02 +01:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
postinst-intercepts gio-module-cache: Add class for Gio modules 2016-03-28 15:55:49 +01:00
pybootchartgui scripts/pybootchart: Fix print statement 2016-06-03 14:38:01 +01:00
tiny scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
README Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
bitbake-prserv-tool bitbake-prserv-tool: check file name 2015-11-25 07:50:30 +00:00
bitbake-whatchanged scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
buildhistory-collect-srcrevs scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
buildhistory-diff scripts: use python3 in shebang 2016-06-02 08:24:01 +01:00
cleanup-workdir scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
combo-layer scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
combo-layer-hook-default.sh combo-layer-hook-default.sh: handle patches without Signed-off-by 2015-03-20 11:21:25 +00:00
combo-layer.conf.example combo-layer: partial import for '--history init' 2015-03-20 11:21:24 +00:00
cp-noerror scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
create-pull-request create-pull-request: fix for newer git 2016-04-06 22:57:26 +01:00
crosstap crosstap: handle hyphenated x86_64 target arch 2013-02-05 15:22:45 +00:00
devtool scripts: use python3 in shebang 2016-06-02 08:24:01 +01:00
gen-lockedsig-cache scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
gen-site-config siteconfig: generate configuration data caches for autoconf 2010-09-03 10:50:02 +01:00
lnr scripts/lnr: update for python3 2016-06-01 12:47:10 +01:00
multilib_header_wrapper.h multilib_header.bbclass: Add oe_multilib_header wrapper 2011-07-27 15:45:47 +01:00
oe-buildenv-internal oe-buildenv-internal: Update to python3 2016-06-02 08:24:00 +01:00
oe-find-native-sysroot oe-find-native-sysroot: minor optimization 2013-08-03 10:33:12 +01:00
oe-git-proxy oe-git-proxy: support username / password in http proxy 2016-03-28 15:55:49 +01:00
oe-pkgdata-util oe-pkgdata-util: fix AttributeError 2016-06-07 21:36:20 +01:00
oe-publish-sdk scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
oe-selftest scripts: python3: decode subprocess output 2016-06-03 13:13:29 +01:00
oe-setup-builddir oe-setup-builddir: tidy up local.conf and bblayers.conf commentary 2016-03-09 16:58:11 +00:00
oe-setup-rpmrepo oe-setup-rpmrepo: add native sysroot so nativepython can be found by env 2013-08-30 18:06:31 +01:00
oe-trim-schemas scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
oepydevshell-internal.py scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
opkg-query-helper.py scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
pythondeps scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
recipetool scripts: use python3 in shebang 2016-06-02 08:24:01 +01:00
relocate_sdk.py scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
rootfs_rpm-extract-postinst.awk meta/classes/rootfs_rpm.bbclass: re implement base on rpm5 2010-07-24 00:46:57 +01:00
rpm2cpio.sh rpm2cpio.sh: make compression tests case-insensitive 2012-01-03 12:14:39 +00:00
runqemu runqemu: let ramfs equal to cpio.gz 2016-04-14 10:58:34 +01:00
runqemu-addptable2image scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
runqemu-export-rootfs runqemu-export-rootfs: update location of unfsd binary 2015-10-29 07:31:17 +00:00
runqemu-extract-sdk runqemu-extract-sdk: normalize paths to improve output 2014-07-03 17:41:16 +01:00
runqemu-gen-tapdevs runqemu-gen-tapdevs: Add note about NetworkManager & tap devices 2016-04-06 22:57:26 +01:00
runqemu-ifdown runqemu-ifdown: clean up the remaining iptables rules 2013-08-30 16:23:47 +01:00
runqemu-ifup runqemu-ifup: Check if the tap interface is set up correctly 2015-10-27 07:24:28 +00:00
runqemu-internal runqemu-internal: split the code into functions 2016-03-25 10:29:14 +00:00
runqemu.README scripts/runqemu.README: Clean this up to accurately reflect what the runqemu command now does 2011-04-21 12:56:13 +01:00
send-error-report send-error-report: encode data to bytes 2016-06-03 13:13:30 +01:00
send-pull-request send-pull-request: add extra CC argument 2013-02-06 09:37:22 +00:00
sstate-cache-management.sh scripts/sstate-cache-management.sh: Change wording 2016-02-15 16:28:43 +00:00
sstate-diff-machines.sh sstate-diff-machines.sh: Return non-zero return code when there was some failure detected 2014-06-29 09:04:22 +01:00
sstate-sysroot-cruft.sh sstate-sysroot-cruft.sh: Extend the whitelist 2016-01-07 13:40:17 +00:00
sysroot-relativelinks.py scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
test-dependencies.sh test-dependencies.sh: strip only .bb suffix 2015-03-16 17:41:52 +00:00
test-reexec test-reexec: Add script to address issues when task re-execution 2012-05-18 15:25:11 +01:00
test-remote-image scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
wic scripts: python3: get rid of __future__ imports 2016-06-03 13:13:29 +01:00
wipe-sysroot wipe-sysroot: fix wrong glob when removing manifests 2016-05-22 16:11:12 +01:00
yocto-bsp scripts: python3: change python to python3 in shebang 2016-06-03 13:13:31 +01:00
yocto-kernel scripts: python3: change python to python3 in shebang 2016-06-03 13:13:31 +01:00
yocto-layer scripts: python3: change python to python3 in shebang 2016-06-03 13:13:31 +01:00

README

This directory contains Various useful scripts for working with OE builds