generic-poky/scripts
Paul Eggleton 32ef523898 devtool: categorise and order subcommands in help output
The listing of subcommands in the --help output for devtool was starting
to get difficult to follow, with commands appearing in no particular
order (due to some being in separate modules and the order of those
modules being parsed). Logically grouping the subcommands as well as
being able to exercise some control over the order of the subcommands
and groups would help, if we do so without losing the dynamic nature of
the list (i.e. that it comes from the plugins). Argparse provides no
built-in way to handle this and really, really makes it a pain to add,
but with some subclassing and hacking it's now possible, and can be
extended by any plugin as desired.

To put a subcommand into a group, all you need to do is specify a group=
parameter in the call to subparsers.add_parser(). you can also specify
an order= parameter to make the subcommand sort higher or lower in the
list (higher order numbers appear first, so use negative numbers to
force items to the end if that's what you want). To add a new group, use
subparsers.add_subparser_group(), supplying the name, description and
optionally an order number for the group itself (again, higher numbers
appear first).

(From OE-Core rev: e1b9d31e6ea3c254ecfe940fe795af44761e0e69)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-21 09:32:42 +00:00
..
contrib python: merge python-elementtree into python-xml 2016-02-11 12:27:45 +00:00
lib devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
postinst-intercepts postinst-intercepts: always use set -e 2016-01-19 17:37:33 +00:00
pybootchartgui scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
tiny scripts: Add ksize.py and dirsize.py 2013-10-29 10:41:39 +00: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 bitbake-whatchanged: avoid double do_ task name prefix 2016-01-30 11:37:00 +00:00
buildhistory-collect-srcrevs buildhistory-collect-srcrevs: hide empty sections 2015-12-22 16:08:50 +00:00
buildhistory-diff scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
cleanup-workdir cleanup-workdir: Fix crosssdk reference after addition of PN 2014-05-05 09:05:42 +01:00
combo-layer combo-layer: Stop using filterdiff 2015-12-18 12:18:18 +00: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/cp-noerror: Avoid a race 2014-02-02 11:23:45 +00:00
create-pull-request scripts/create-pull-request: fix git request-pull syntax 2016-01-11 23:26:32 +00:00
crosstap crosstap: handle hyphenated x86_64 target arch 2013-02-05 15:22:45 +00:00
devtool devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
gen-lockedsig-cache gen-lockedsig-cache: fix bad destination path joining 2016-01-26 22:32:00 +00:00
gen-site-config siteconfig: generate configuration data caches for autoconf 2010-09-03 10:50:02 +01:00
hob scripts/hob: enable additional arguments 2013-05-14 14:57:27 +03:00
lnr scripts: add lnr (link relative) 2014-03-07 14:58:45 +00: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: fix return code 2015-12-22 16:08:50 +00: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: Allow socks4 as protocol in $ALL_PROXY 2015-09-23 09:52:56 +01:00
oe-pkgdata-util scripts: print usage in argparse-using scripts when a command-line error occurs 2015-12-28 09:25:12 +00:00
oe-publish-sdk scripts/oe-publish-sdk: add missing call to git update-server-info 2016-01-11 15:41:45 +00:00
oe-selftest scripts/oe-selftest: Allow to run tests on random/all MACHINEs 2016-01-07 13:40:17 +00:00
oe-setup-builddir scripts: Move BUILDDIR chmod fix after checks in oe-setup-builddir 2015-09-12 22:48:29 +01: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/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oepydevshell-internal.py devshell: Add interactive python shell 2014-05-28 08:27:00 +01:00
opkg-query-helper.py classes/image: write image manifest 2013-11-26 23:01:32 +00:00
pythondeps recipetool: add python dependency scanning support 2015-01-23 11:36:28 +00:00
recipetool scripts: print usage in argparse-using scripts when a command-line error occurs 2015-12-28 09:25:12 +00:00
relocate_sdk.py gcc: Add support for nativesdk-gcc 2015-07-31 10:32:37 +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: support path/to/<image>-<machine>.wic 2016-02-15 16:28:44 +00: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: Replace use of ifconfig with ip 2013-05-16 00:09:47 +03: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 linux-yocto: Work around PAT issue on qemux86 2016-02-15 16:28:45 +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 scripts: print usage in argparse-using scripts when a command-line error occurs 2015-12-28 09:25:12 +00: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
swabber-strace-attach scripts: replace os.system with subprocess.call 2012-05-30 12:04:45 +01:00
sysroot-relativelinks.py image/populate_sdk: Ensure symlinks in target sysroot are relative 2013-09-11 11:05:05 +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: print usage in argparse-using scripts when a command-line error occurs 2015-12-28 09:25:12 +00:00
wic wic: insert local Python paths at front 2015-12-08 10:20:47 +00:00
wipe-sysroot scripts/wipe-sysroot: also delete uninative sysroot 2016-01-26 22:31:58 +00:00
yocto-bsp scripts/yocto-bsp: Exit successfully when asking for help 2015-10-01 07:43:38 +01:00
yocto-kernel yocto-kernel: add support for destroying recipe-space kernel features 2013-03-17 23:10:28 +00:00
yocto-layer scripts/yocto-layer: Avoids duplication of "meta-" prefix 2016-01-07 13:52:21 +00:00

README

This directory contains Various useful scripts for working with OE builds