generic-poky/scripts
Richard Purdie e6f27619af combo-layer: Stop using filterdiff
I ran into an issue where a patch just deleting a single file
within the repository (meta/recipes-devtools/m4/m4/make.patch)
would get skipped by combo-layer.

It turns out this has the patch header (commented to avoid breaking scripts):

: diff --git a/meta/recipes-devtools/m4/m4/make.patch b/meta/recipes-devtools/m4/m4/make.patch
: deleted file mode 100644
: index 79fb415..0000000
: --- a/meta/recipes-devtools/m4/m4/make.patch
: +++ /dev/null
: @@ -1,42 +0,0 @@

and this is classed as > 5 headers in filterdiff. When we piped the path
through filterdiff, the --- line disappears, then the second time we pass
through filterdiff, it shows no lines changed and the patch is assumed
to be empty and skipped.

Changing MAX_HEADERS in filterdiff is one way to fix this, another would
be to grep out "deleted file mode" lines. Instead, we can use new
git syntax to exclude files from the git format-patch instead and avoid
filterdiff entirely.

(From OE-Core rev: 296c70afeef75396dea9ae436058314d406dc257)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-18 12:18:18 +00:00
..
contrib python3: Upgrade from 3.4.3 to 3.5 2015-12-01 21:32:06 +00:00
lib devtool: extract: update SRCTREECOVEREDTASKS for kernel 2015-12-09 08:48:25 +00:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
postinst-intercepts gtk-icon-cache: pass the native libdir to the intercept 2015-10-29 07:31:16 +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 scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
buildhistory-collect-srcrevs buildhistory-collect-srcrevs: match new buildhistory-diff command line parsing 2013-08-16 11:44:17 +01: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 create-pull-request: handle empty ODIR 2015-12-01 21:32:02 +00:00
crosstap crosstap: handle hyphenated x86_64 target arch 2013-02-05 15:22:45 +00:00
devtool devtool: clarify help text 2015-12-01 21:32:04 +00:00
gen-lockedsig-cache scripts/gen-lockedsig-cache: improve output 2015-12-01 21:32:02 +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: preserve existing BB_ENV_EXTRAWHITE 2015-12-12 23:42:51 +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/oe-pkgdata-util: sort the packages in list-pkg-files 2015-12-08 10:20:47 +00:00
oe-publish-sdk scripts/oe-publish-sdk: create directory before making git repo 2015-10-27 07:24:25 +00:00
oe-selftest scripts: oe-selftest Added new features. 2015-12-12 23:42:51 +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 recipetool: make plugin registration function name consistent with devtool 2015-12-01 21:32:05 +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 scripts: runqemu: remove QEMUARCH from help message 2015-11-16 11:39:40 +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 runqemu-internal: Replace wacom-tablet with tablet for usbdevice 2015-12-01 21:32:05 +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/send-error-report: Rework script to support new features 2015-03-10 10:47:38 +00:00
send-pull-request send-pull-request: add extra CC argument 2013-02-06 09:37:22 +00:00
sstate-cache-management.sh sstate-cache-management: Minor cleanup of help text 2014-04-29 17:20:11 +01: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: Add php, python, lua, fontcache generated files to whitelist 2015-12-16 12:12:15 +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/test-remote-image: use the scriptpath module 2014-07-19 00:09:01 +01:00
wic wic: insert local Python paths at front 2015-12-08 10:20:47 +00:00
wipe-sysroot wipe-sysroot: explain what is being deleted, and check for arguments 2014-01-02 13:08:40 +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 yocto-layer: add optional layer priority param 2013-01-20 13:05:39 +00:00

README

This directory contains Various useful scripts for working with OE builds