poky/scripts
Paul Eggleton b41b2fa4dd scripts: ensure not specifying subcommand shows help text
With Python 2, argparse subparsers behaviour in Python 2 was to print
the usage information if the subparsers argument wasn't specified.
However, with Python 3.2.3 and later a subparsers argument is not
required by default, leading to errors when no arguments are specified:

  AttributeError: 'Namespace' object has no attribute 'func'

Restore the previous desired behaviour of showing the help text for
devtool, recipetool and the devtool-stress script by setting
subparsers.required to True.

(From OE-Core rev: d36fdea1a7f32d97187e0e9e6d701ae8fa304e8f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15 08:35:01 +01:00
..
contrib scripts: ensure not specifying subcommand shows help text 2016-06-15 08:35:01 +01:00
lib devtool: reset: allow specifying multiple recipes 2016-06-15 08:35:01 +01:00
native-intercept
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
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 buildhistory-diff: suggest correct version of PythonGit 2016-06-12 23:47:17 +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
devtool scripts: ensure not specifying subcommand shows help text 2016-06-15 08:35: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
lnr scripts/lnr: update for python3 2016-06-01 12:47:10 +01:00
multilib_header_wrapper.h
oe-buildenv-internal oe-buildenv-internal: Update to python3 2016-06-02 08:24:00 +01:00
oe-find-native-sysroot
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: new option to provide full info for binary package(s) 2016-06-12 23:47:17 +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-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
README
recipetool scripts: ensure not specifying subcommand shows help text 2016-06-15 08:35: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
rpm2cpio.sh
runqemu runqemu: Add suport for qemuzynqmp 2016-06-12 23:47:15 +01:00
runqemu-addptable2image
runqemu-export-rootfs runqemu-export-rootfs: update location of unfsd binary 2015-10-29 07:31:17 +00:00
runqemu-extract-sdk
runqemu-gen-tapdevs runqemu-gen-tapdevs: Add note about NetworkManager & tap devices 2016-04-06 22:57:26 +01:00
runqemu-ifdown
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: Update the qemuzynq boot options 2016-06-12 23:47:15 +01:00
runqemu.README
send-error-report send-error-report: encode data to bytes 2016-06-03 13:13:30 +01:00
send-pull-request
sstate-cache-management.sh scripts/sstate-cache-management.sh: Change wording 2016-02-15 16:28:43 +00:00
sstate-diff-machines.sh
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-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/yocto-bsp: Fixed typo in parameter that was causing exception 2016-06-12 23:47:19 +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

This directory contains Various useful scripts for working with OE builds