poky/scripts
Lori Hikichi be53b56b0c rpm2cpio.sh: fix to handle newline character
This script is attempting to read binary data from an rpm file.
If any of the bytes it is attempt to read is the binary value 0xa
(i.e. a newline) then the script does not properly deal with this
special case. Due to the behavior of command substitution, instead of
fetching the value 0xa, the script makes an error and get the value 0
instead.

The fix and the following explantion was taken from this post...

https://unix.stackexchange.com/questions/10801/
how-to-use-bash-script-to-read-binary-file-content

Command substitution $(…) strips final newlines in the command output.
There's a fairly easy workaround.  Make sure the output ends in a
character other than a newline, then strip that one character.

(From OE-Core rev: a40a93e81766513cf710e713093ab74c6ec936c3)

Signed-off-by: Lori Hikichi <lori.hikichi@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-19 11:24:15 +00:00
..
contrib list-packageconfig-flags: print PN instead of P 2019-07-03 17:00:57 +01:00
lib qemux86: do not add vga=0 to kernel parameters 2020-02-18 23:53:54 +00:00
native-intercept scripts/native-intercept: Add chgrp intercept 2019-11-14 13:21:00 +00:00
postinst-intercepts update_font_cache: fix ownership of .uuid files too 2020-01-27 16:48:08 +00:00
pybootchartgui fix various, innocuous typos 2020-02-18 23:53:54 +00:00
tiny ksum.py: python -> python3 2019-06-30 22:40:52 +01:00
autobuilder-worker-prereq-tests meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
bitbake-prserv-tool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
bitbake-whatchanged meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
buildhistory-collect-srcrevs meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
buildhistory-diff meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
buildstats-diff scripts/buildstats-diff: Add option to filter tasks 2019-07-17 09:36:35 +01:00
combo-layer meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
combo-layer-hook-default.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
combo-layer.conf.example
cp-noerror meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create-pull-request scripts/create-pull-request: fix putting subject containing / into cover letter 2019-07-31 13:50:46 +01:00
crosstap meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
devtool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
gen-lockedsig-cache scripts/gen-lockedsig-cache: Only look at new format sstate objects 2020-01-06 23:54:39 +00:00
gen-site-config meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
lnr meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
multilib_header_wrapper.h meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-build-perf-report scripts/oe-build-perf-report: Avoid buildstats warning 2020-01-13 13:07:01 +00:00
oe-build-perf-test scripts/oe-build-perf-test: Use python3 from the environment 2019-12-15 09:10:46 +00:00
oe-buildenv-internal hosttools: no longer check for or provide host python 2 to builds 2019-12-09 10:21:51 +00:00
oe-check-sstate meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-depends-dot meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-find-native-sysroot meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-git-archive meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-git-proxy oe-git-proxy: fix dash "Bad substitution" 2019-09-16 23:02:44 +01:00
oe-gnome-terminal-phonehome meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-pkgdata-browser oe-pkgdata-browser: Select a matching package when a recipe is selected 2020-01-10 21:18:22 +00:00
oe-pkgdata-browser.glade oe-pkgdata-browser: Make the window 1200x900 by default 2020-01-10 21:18:22 +00:00
oe-pkgdata-util scripts/oe-pkgdata-util: Enable list-pkgs to print ordered packages 2019-11-04 13:39:05 +00:00
oe-publish-sdk meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-pylint meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-run-native oe-run-native: fix typo 2019-12-28 23:25:41 +00:00
oe-selftest oe-selftest: Implement console 'keepalive' output 2019-09-06 08:15:45 +01:00
oe-setup-builddir meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-test meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oe-trim-schemas meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
oepydevshell-internal.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
opkg-query-helper.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
pythondeps meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
README
recipetool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
relocate_sdk.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
resulttool meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
rootfs_rpm-extract-postinst.awk
rpm2cpio.sh rpm2cpio.sh: fix to handle newline character 2020-02-19 11:24:15 +00:00
runqemu runqemu: Add network bridge support 2020-01-10 21:18:23 +00:00
runqemu-addptable2image meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-export-rootfs meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-extract-sdk meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-gen-tapdevs meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-ifdown meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu-ifup meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
runqemu.README scripts/runqemu.README: fix typo 2017-05-18 14:01:47 +01:00
send-error-report meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
send-pull-request meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
sstate-cache-management.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
sstate-diff-machines.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
sstate-sysroot-cruft.sh meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
sysroot-relativelinks.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
task-time meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test-reexec meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
test-remote-image meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
verify-bashisms meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
wic wic: 'wic cp' to copy from image 2019-11-27 13:25:18 +00:00
yocto-check-layer meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
yocto-check-layer-wrapper meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00

This directory contains Various useful scripts for working with OE builds