generic-poky/scripts
Paul Eggleton fa5640d143 Rework installation of dev, dbg, doc, and locale packages
Use a similar mechanism that was previously used to install locales at
rootfs generation time to install other "complementary" packages (e.g.
*-dev packages) - i.e. install all of the explicitly requested packages
and their dependencies, then get a list of the packages that were
installed, and use that list to install the complementary packages. This
has been implemented by using a list of globs which should make it
easier to extend in future.

The previous locale package installation code assumed that the locale
packages did not have any dependencies that were not already installed;
now that we are installing non-locale packages this is no longer
correct. In practice only the rpm backend actually made use of this
assumption, so it needed to be changed to call into the existing package
backend code to do the complementary package installation rather than
calling rpm directly.

This fixes the doc-pkgs IMAGE_FEATURES feature to work correctly, and
also ensures that all dev/dbg packages get installed for
dev-pkgs/dbg-pkgs respectively even if the dependency chains between
those packages was not ensuring that already.

The code has also been adapted to work correctly with the new
SDK-from-image functionality. To that end, an SDKIMAGE_FEATURES variable
has been added to allow specifying what extra image features should go
into the SDK (extra, because by virtue of installing all of the packages
in the image into the target part of the SDK, we already include all of
IMAGE_FEATURES) with a default value of "dev-pkgs dbg-pkgs".

Fixes [YOCTO #2614].

(From OE-Core rev: 72d1048a8381fa4a8c4c0d082047536727b4be47)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-29 10:16:14 +01:00
..
contrib generate-manifest-2.7.py: replace os.popen with os.unlink 2012-06-05 22:56:32 +01:00
jhbuild Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
lib/bsp yocto-bsp: update yocto-bsp xorg.conf templates 2012-06-26 15:34:40 +01:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
pybootchartgui pybootchartgui: Fix the filename and add a default format 2012-06-15 15:12:43 +01:00
qemuimage-tests sanitytest: use different option for command ps from busybox and procps 2011-11-18 10:47:15 +00:00
README Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
bitbake scripts/bitbake: Check the git-native version and build it if necessary 2012-07-18 14:29:30 +01:00
bitbake-prserv-tool scripts/prserv-tool: Adepted to new bitbake cache. 2012-02-28 12:27:23 +00:00
buildhistory-diff scripts/buildhistory-diff: add GitPython version check 2012-05-30 12:04:46 +01:00
cleanup-workdir cleanup-workdir: update help text 2012-06-18 13:24:57 +01:00
combo-layer scripts/combo-layer: handle diffs in commit messages 2012-03-23 12:13:08 +00:00
combo-layer-hook-default.sh scripts/combo-layer: fix still overzealous regex in default hook script 2011-09-21 13:42:49 +01:00
combo-layer.conf.example scripts/combo-layer: add branch option to example config 2012-02-21 17:00:46 +00:00
cp-noerror scripts/cp-noerror: Add a special copy function to fix autotools issues 2012-05-30 12:04:49 +01:00
create-lsb-image create-lsb-iamge:Fix bugs 2011-05-04 00:54:39 +01:00
create-pull-request create-pull-request: Assume remote branch from local branch 2012-04-10 13:31:58 +01:00
create-recipe create-recipe: base on autospectacle.pl to create recipe file 2012-05-03 15:48:00 +01:00
gen-site-config siteconfig: generate configuration data caches for autoconf 2010-09-03 10:50:02 +01:00
help2man Remove help2man dependency 2011-10-04 13:46:19 +01:00
hob scripts/hob: disable sanity checks when launching 2012-04-23 23:04:43 +01: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 BITBAKEDIR changes to work with existing autobuilder scritpts 2012-05-12 08:43:15 +01:00
oe-find-native-sysroot scripts: Show sensible warning messages if expected binaries don't exist 2011-09-02 14:21:30 +01:00
oe-git-proxy-command scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oe-git-proxy-socks-command scripts/oe-git-proxy-socks-command: Add fallback to use nc 2012-03-02 12:25:19 +00:00
oe-git-proxy-socks.c scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oe-pkgdata-util Rework installation of dev, dbg, doc, and locale packages 2012-07-29 10:16:14 +01:00
oe-setup-builddir Various typoes fixed, all comments or output strings. 2012-03-26 12:13:05 +01:00
oe-setup-rpmrepo scripts/oe-setup-rpmrepo: use setup_tmpdir from runqemu 2011-09-28 21:41:44 +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
opkg-query-helper.py Rework installation of dev, dbg, doc, and locale packages 2012-07-29 10:16:14 +01:00
qemuimage-testlib scripts/qemuimage-testlib: fix typos 2012-03-21 15:33:04 +00:00
rootfs_rpm-extract-postinst.awk meta/classes/rootfs_rpm.bbclass: re implement base on rpm5 2010-07-24 00:46:57 +01:00
rpm-createsolvedb.py scripts: replace os.system with subprocess.call 2012-05-30 12:04:45 +01:00
rpm2cpio.sh rpm2cpio.sh: make compression tests case-insensitive 2012-01-03 12:14:39 +00:00
runqemu runqemu: Fix running qemu when build without gl 2012-07-17 10:53:56 +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 Allow user mode NFS server to run without rpcbind / portmap 2011-10-10 10:00:08 +01:00
runqemu-extract-sdk scripts: Show sensible warning messages if expected binaries don't exist 2011-09-02 14:21:30 +01:00
runqemu-gen-tapdevs scripts: Show sensible warning messages if expected binaries don't exist 2011-09-02 14:21:30 +01:00
runqemu-ifdown Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
runqemu-ifup runqemu-ifup: enable arp proxying 2012-06-08 11:43:20 +01:00
runqemu-internal runqemu: Fix running qemu when build without gl 2012-07-17 10:53:56 +01: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-pull-request scripts/send-pull-request: fix typo 2011-12-12 21:50:20 +00:00
sstate-cache-management.sh sstate-cache-management.sh: fixes and enhancement 2012-03-30 17:20:23 +01:00
swabber-strace-attach scripts: replace os.system with subprocess.call 2012-05-30 12:04:45 +01:00
test-reexec test-reexec: Add script to address issues when task re-execution 2012-05-18 15:25:11 +01:00
yocto-bsp yocto-bsp: new script 2012-03-22 19:21:15 +00:00
yocto-kernel yocto-kernel: new script 2012-03-22 19:21:15 +00:00

README

This directory contains Various useful scripts for working with OE builds