poky/scripts
Ioan-Adrian Ratiu ad42d8e4d9 isoimage-isohybrid: don't include cpio in cpio image
Because the find | cpio processes execute in parallel connected via
the pipe, and the cpio outputs in the same dir find searches for
source files, the cpio will be included in itself partially, depending
on how fast the build machine creates the cpio file before cpio
gobbles it up.

This bloats the ISO image, though compression reduces the .iso file size,
once the kernel decompresses the cpio image and boots it live, it uses
up to double the RAM memory.

Fix this by creating the initrd.cpio file directly inside cr_workdir.

(From OE-Core rev: 7a7b29f5f1392f4f87af4f20cda99c66b4789fde)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-09-20 05:41:31 -07:00
..
contrib logging: use warning instead warn 2018-07-26 13:16:40 +01:00
distro build-recipe-list: improvements 2018-03-15 06:27:19 -07:00
lib isoimage-isohybrid: don't include cpio in cpio image 2018-09-20 05:41:31 -07:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
postinst-intercepts update_gtk_immodules_cache: update for multilib 2018-09-13 07:42:28 +01:00
pybootchartgui pybootchartgui: support reading reduced /proc logs 2016-12-07 10:38:00 +00:00
tiny scripts: python3 fixes and new tool ksum 2017-01-16 18:05:14 +00:00
autobuilder-worker-prereq-tests scripts/autobuilder-worker-prereq-tests: Extend todo list 2018-09-05 18:00:25 +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 buildhistory-collect-srcrevs: Fix multiple SRCREV definitions 2016-10-28 16:15:17 +01:00
buildhistory-diff buildhistory-diff: honour report_all flag 2018-02-24 10:35:59 +00:00
buildstats-diff scripts/buildstats-diff: move more code to lib/buildstats.py 2017-09-18 11:07:30 +01:00
combo-layer logging: use warning instead warn 2018-07-26 13:16:40 +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: support format-patch options 2017-05-23 17:45:35 +01:00
crosstap crosstap: replace script with new python based implementation 2018-04-07 11:44:50 +01:00
devtool devtool: Use ConfigParser instead of SafeConfigParser 2018-08-14 11:36:31 +01:00
gen-lockedsig-cache gen-lockedsig-cache: catch os.link error 2017-03-22 11:35:21 +00: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: recognize BPF as a target 2018-08-14 11:36:31 +01:00
oe-build-perf-report oe-buildperf-report: highlight large changes in the HTML report 2018-05-11 07:49:38 +01:00
oe-build-perf-test oe-build-perf-test: pack all buildstat in one file 2017-03-27 08:15:06 +01:00
oe-buildenv-internal oe-init-env: search 'bitbake' outside of oe-core 2018-03-01 22:13:56 +00:00
oe-check-sstate devtool/recipetool/meta: Adapt to bitbake API changes for multi-configuration builds 2016-08-18 10:07:23 +01:00
oe-depends-dot oe-depends-dot: print dependency chains for '--why' option 2018-05-15 10:56:49 +01:00
oe-find-native-sysroot oe-find-native-sysroot: drop message if pseudo is not found 2018-07-24 11:52:26 +01:00
oe-git-archive scripts/oe-git-archive: implement --notes 2017-03-27 08:15:06 +01:00
oe-git-proxy oe-git-proxy: create usage output 2016-12-13 22:55:21 +00:00
oe-gnome-terminal-phonehome terminal: Fix gnome-terminal to work with recent versions 2016-07-08 10:50:18 +01:00
oe-pkgdata-util oe-pkgdata-util: add option for lookup-recipe to not fatally fail 2018-09-05 18:00:24 +01:00
oe-publish-sdk scripts/oe-publish-sdk: use hook to call git update-server-info 2017-08-09 09:24:16 +01:00
oe-run-native oe-run-native: Add *-native directories under STAGING_BINDIR_NATIVE to PATH environment 2018-08-23 07:50:00 +01:00
oe-selftest scripts/oe-{self,}test: Logger change default stream to stdout 2017-06-06 19:02:44 +01:00
oe-setup-builddir meta: move some text from oe-setup-builddir to conf-notes.txt 2017-08-23 12:06:51 +01:00
oe-test scripts/oe-{self,}test: Logger change default stream to stdout 2017-06-06 19:02:44 +01:00
oe-trim-schemas oe-trim-schemas: create usage output 2016-12-13 22:55:20 +00:00
oepydevshell-internal.py oepydevshell-internal.py: standardize usage output 2016-12-13 22:55:21 +00: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 Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
recipetool recipetool: Setup logging before calling prepare 2017-07-21 08:44:25 +01:00
relocate_sdk.py Revert "relocate_sdk.py: remove hardcoded SDK path" 2018-07-25 16:46:56 +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 scripts/rpm2cpio.sh: replace 5.x version with 4.x version 2017-03-14 14:42:17 +00:00
runqemu runqemu: exit gracefully with an error message if qemu system is not evaluated 2018-08-15 09:44:33 +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: don't change RPC ports 2017-06-12 15:08:32 +01:00
runqemu-extract-sdk runqemu-extract-sdk: fix whitespace errors 2018-06-18 11:07:57 +01:00
runqemu-gen-tapdevs runqemu-gen-tapdevs: fix runqemu-ifup script call 2017-04-29 11:17:22 +01:00
runqemu-ifdown runqemu-ifdown: ensure to clean up TAP 2018-06-18 11:07:58 +01:00
runqemu-ifup runqemu: use bindir_native property to run ifup/down scripts 2017-04-13 10:54:10 +01:00
runqemu.README scripts/runqemu.README: fix typo 2017-05-18 14:01:47 +01:00
send-error-report send-error-report: Fix test for name > 50 chars 2018-07-04 12:19:13 +01:00
send-pull-request scripts/send-pull-request: Avoid multiple chain headers 2016-12-07 10:37:59 +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: Replace MACHINE_ARCH only at the beginning and separated with dash 2017-06-06 19:02:43 +01:00
sstate-sysroot-cruft.sh sstate-sysroot-cruft.sh: Extend the whitelist 2017-06-23 11:44:12 +01:00
sysroot-relativelinks.py sysroot-relativelinks: also consider links to dirs on the host 2017-03-29 16:37:27 +01:00
task-time task-time: Add simple buildstats analysis script 2016-11-06 23:35:36 +00:00
test-reexec scripts/test-reexec: fix several incomplete regexp 2017-06-28 20:55:09 +01:00
test-remote-image scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
verify-bashisms verify-bashisms: use argparse, add verbose option 2017-11-30 10:49:20 +00:00
wic scripts/wic: explicitly set BUILDDIR within eSDK 2018-01-13 10:15:20 +00:00
yocto-check-layer scripts: rename yocto-compat-layer to remove "compatible" nomenclature 2017-09-21 11:34:19 +01:00
yocto-check-layer-wrapper scripts: rename yocto-compat-layer to remove "compatible" nomenclature 2017-09-21 11:34:19 +01:00

This directory contains Various useful scripts for working with OE builds