generic-poky/meta/classes
Richard Purdie faf70253ba staging: Remove uninstalled dependencies from sysroots
Currently, if something is added to a sysroot, its hash remains unchanged,
and it continues to be buildable, it doesn't get removed from the sysroot.

This patch handles the case where something is removed from DEPENDS or
[depends].

It does introduce its own issue where something could get removed even
though some other task in parallel may have the same requirement. This
case should be extrememly rare and fixing the more common DEPENDS removal
is likely the bigger win though.

(From OE-Core rev: 06227bc5e533841ab12cde84a6ed6f8b8ddeb5cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-24 23:43:33 +00:00
..
allarch.bbclass allarch: Drop STAGING_DIR_HOST expansion 2017-01-28 23:32:16 +00:00
archiver.bbclass meta: replace uses of bb.data.expand(VARNAME, d) with d.expand(VARNAME) 2017-03-22 11:35:19 +00:00
autotools-brokensep.bbclass autotools-brokensep: Mark recipes with broken separate build dir support 2014-02-28 14:01:16 +00:00
autotools.bbclass autotools.bbclass: delete the extra varflag set for autotools_copy_aclocals 2017-03-04 23:18:19 +00:00
base.bbclass classes/base: reformat HOSTTOOLS error 2017-03-16 22:11:32 +00:00
bash-completion.bbclass bash-completion: add bash-completion to DEPENDS for target packages 2016-08-25 23:03:45 +01:00
bin_package.bbclass bin_package.bbclass: binary package recipe class 2012-09-10 13:01:46 +01:00
binconfig-disabled.bbclass ncurses.inc: add v6 binconfig-disabled entries 2016-12-22 08:50:17 +00:00
binconfig.bbclass binconfig.bbclass: fix get_binconfig_mangle() 2017-02-23 12:49:49 -08:00
blacklist.bbclass meta/scripts: Various getVar/getVarFlag expansion parameter fixes 2017-01-09 13:39:11 +00:00
bluetooth.bbclass bluetooth.bbclass: simplify recipe inference of bluetooth provider 2015-02-17 13:43:38 +00:00
bugzilla.bbclass meta/scripts: Various getVar/getVarFlag expansion parameter fixes 2017-01-09 13:39:11 +00:00
buildhistory.bbclass buildhistory.bbclass: add layer name to source recipe data 2017-03-22 11:35:22 +00:00
buildstats-summary.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
buildstats.bbclass buildstats.bbclass: Avoid index exception in /proc/PID/io parsing 2017-03-01 23:27:10 +00:00
ccache.bbclass ccache: Disable CCACHE_HASHDIR by default 2017-03-17 16:53:06 +00:00
chrpath.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
clutter.bbclass clutter: remove usage of FILESPATH 2013-10-26 15:59:13 +01:00
cmake.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
cml1.bbclass meta/scripts: Various getVar/getVarFlag expansion parameter fixes 2017-01-09 13:39:11 +00:00
compress_doc.bbclass meta/scripts: Various getVar/getVarFlag expansion parameter fixes 2017-01-09 13:39:11 +00:00
copyleft_compliance.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
copyleft_filter.bbclass classes/copyleft_filter: include AGPL in default included list 2017-02-15 09:29:56 -08:00
core-image.bbclass core-image.bbclass: update available IMAGE_FEATURES 2017-03-24 23:43:32 +00:00
cpan-base.bbclass meta: Drop now pointless manual -dbg packaging 2015-12-16 11:56:30 +00:00
cpan.bbclass perl: fix Perl5 module builds 2015-10-29 07:31:17 +00:00
cpan_build.bbclass perl: Remove errornous extra path-specs for Module::Build based modules 2015-10-29 07:31:17 +00:00
cross-canadian.bbclass Switch to Recipe Specific Sysroots 2017-01-23 12:05:17 +00:00
cross.bbclass sstate: Make SSTATE_SCAN_CMD vars configurable using weak defaults. 2017-01-31 14:43:01 +00:00
crosssdk.bbclass sstate: Make SSTATE_SCAN_CMD vars configurable using weak defaults. 2017-01-31 14:43:01 +00:00
cve-check.bbclass cve-check.bbclass: Fix dependencies 2017-02-15 09:29:56 -08:00
debian.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
deploy.bbclass deploy: Mark deploy tasks as MACHINE specific 2015-10-01 07:43:36 +01:00
devshell.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
devupstream.bbclass classes: add devupstream class 2017-03-11 16:09:14 +00:00
distro_features_check.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
distrodata.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
distutils-base.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
distutils-common-base.bbclass distutils-common-base.bbclass: remove EXTRA_OEMAKE workaround 2016-09-03 09:58:40 +01:00
distutils-tools.bbclass python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
distutils.bbclass python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
distutils3-base.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
distutils3.bbclass python-native, python3-native: remove the use of exported HOST_SYS and BUILD_SYS variables 2016-06-01 12:38:41 +01:00
externalsrc.bbclass externalsrc: Use git add -A for compatibility with all git versions 2017-03-22 11:35:22 +00:00
extrausers.bbclass extrausers: Use static ids when available 2017-01-19 22:47:20 +00:00
fontcache.bbclass fontcache.bbclass: Add PACKAGE_WRITE_DEPS for postinst 2017-01-20 11:53:51 +00:00
fs-uuid.bbclass gummiboot: Remove/change gummiboot references with systemd-boot 2017-01-09 13:39:11 +00:00
gconf.bbclass gconf.bbclass: Add PACKAGE_WRITE_DEPS for postinst 2017-01-20 11:53:51 +00:00
gettext.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
gio-module-cache.bbclass gio-module-cache: Add PACKAGE_WRITE_DEPS for postinst 2017-01-20 11:53:51 +00:00
gnome.bbclass gnome: move introspection options to gnomebase 2015-08-24 23:46:53 +01:00
gnomebase.bbclass gnomebase: remove gnome-common-native DEPENDS 2016-11-30 15:48:06 +00:00
go.bbclass go: Enable on musl 2017-03-14 14:42:18 +00:00
goarch.bbclass go: Add recipes for golang compilers and tools 2017-03-10 15:51:55 +00:00
gobject-introspection-data.bbclass classes/gobject-introspecton-data: lazy assign GI_DATA_ENABLED 2016-09-14 22:22:08 +01:00
gobject-introspection.bbclass Switch to Recipe Specific Sysroots 2017-01-23 12:05:17 +00:00
grub-efi.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
gsettings.bbclass gsettings: Add PACKAGE_WRITE_DEPS for postinst 2017-01-20 11:53:51 +00:00
gtk-doc.bbclass classes/gtk-doc: lazy assign GTKDOC_ENABLED 2016-09-14 22:22:08 +01:00
gtk-icon-cache.bbclass gtk-icon-cache: Add PACKAGE_WRITE_DEPS for postinst 2017-01-20 11:53:49 +00:00
gtk-immodules-cache.bbclass gtk-immodules-cache: Add PACKAGE_WRITE_DEPS for postinst 2017-01-20 11:53:51 +00:00
icecc.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
image-buildinfo.bbclass image-buildinfo.bbclass: configurable location for build file 2017-03-22 11:35:21 +00:00
image-container.bbclass image-container.bbclass: Error if not using linux-dummy 2017-02-19 06:49:00 -08:00
image-live.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
image-mklibs.bbclass image-mklibs: handle position independent binaries 2016-03-10 23:13:54 +00:00
image-prelink.bbclass image-prelink: use STAGING_*_NATIVE variables 2016-03-09 16:58:12 +00:00
image-vm.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
image.bbclass run-postinsts: simplify the logic of whether to install it to images 2017-03-14 14:42:17 +00:00
image_types.bbclass image_types: increase filesystem size for BTRFS 2017-03-22 11:35:19 +00:00
image_types_uboot.bbclass image_types: Add support for lzo compressed initial ramdisk 2016-10-28 16:15:18 +01:00
image_types_wic.bbclass image_types_wic.bbclass: tighten dependency to help do_rm_work_all 2017-03-22 11:35:21 +00:00
insane.bbclass insane: remove broken unsafe-references-in-binaries test 2017-03-22 11:35:21 +00:00
kernel-arch.bbclass kernel-arch: Lock the toolchain to use gcc compiler 2017-03-08 11:52:57 +00:00
kernel-fitimage.bbclass kernel-fitimage: dtb sections named by their filenames and one config section for each dtb 2017-03-22 11:35:21 +00:00
kernel-grub.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
kernel-module-split.bbclass kernel: use ${nonarch_base_libdir} for kernel modules installation. 2017-03-22 11:35:20 +00:00
kernel-uboot.bbclass kernel: Correct mishandling of linux.bin for building uImage 2015-08-14 08:30:33 +01:00
kernel-uimage.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
kernel-yocto.bbclass kernel-yocto: trivial: remove extra } from bsp_definition 2017-02-19 06:16:58 -08:00
kernel.bbclass kernel: use ${nonarch_base_libdir} for kernel modules installation. 2017-03-22 11:35:20 +00:00
kernelsrc.bbclass image/kernelsrc/packagegroups/recipes: Remove uneeded noexec tasks 2017-01-28 23:32:16 +00:00
lib_package.bbclass lib_package.bbclass: Correct comment referring to bin directories. 2013-01-07 11:09:42 +00:00
libc-common.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
libc-package.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
license.bbclass license: don't assume source files are UTF-8 2017-03-10 14:50:11 +00:00
linux-kernel-base.bbclass kernel: Rearrange for 1.8 2014-12-21 12:37:53 +00:00
linuxloader.bbclass linuxloader.bbclass: Adjust mips to cover all mips/mips64 2016-10-07 16:43:58 +01:00
live-vm-common.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
logging.bbclass classes/logging: allow shell message functions to work in devshell 2015-07-16 15:09:24 +01:00
manpages.bbclass manpages.bbclass: add a class 2016-10-28 16:15:19 +01:00
meta.bbclass meta: fix no newline at end of file 2014-07-03 17:41:16 +01:00
metadata_scm.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
migrate_localcount.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
mime.bbclass mime.bbclass: Add PACKAGE_WRITE_DEPS for postinst 2017-01-20 11:53:51 +00:00
mirrors.bbclass mirrors.bbclass: Fix gnutls mirror directory 2016-12-20 15:22:16 +00:00
module-base.bbclass bbclass: fix spelling mistakes 2015-11-24 15:50:27 +00:00
module.bbclass kernel: use ${nonarch_base_libdir} for kernel modules installation. 2017-03-22 11:35:20 +00:00
multilib.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
multilib_global.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
multilib_header.bbclass multilib_header: avoid sstate checksum issues for -nativesdk recipes 2016-10-01 21:45:56 +01:00
native.bbclass native.bbclass: clear MACHINE_FEATURES 2017-03-24 23:43:32 +00:00
nativesdk.bbclass Switch to Recipe Specific Sysroots 2017-01-23 12:05:17 +00:00
nopackages.bbclass nopackages.bbclass: deltask foo_setscene 2016-05-30 15:58:11 +01:00
npm.bbclass classes/npm: allow installation of devDependencies 2017-03-22 11:35:20 +00:00
oelint.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
own-mirrors.bbclass mirrors/own-mirrors/sanity: Updates after npm fetcher addition 2016-02-28 11:32:57 +00:00
package.bbclass package.bbclass: Add PRIVATE_LIBS to list of package specific variables 2017-03-22 11:35:21 +00:00
package_deb.bbclass package_deb.bbclass: Ignore file paths in RPROVIDES 2017-02-15 20:06:40 -08:00
package_ipk.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
package_rpm.bbclass package_rpm.bbclass: do not strip multilib prefixes from package names, do not add multilib prefix to package arch 2017-03-14 14:42:17 +00:00
package_tar.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
packagedata.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
packagefeed-stability.bbclass meta: remove remaining True option to getVar calls 2017-01-31 14:43:02 +00:00
packagegroup.bbclass image/kernelsrc/packagegroups/recipes: Remove uneeded noexec tasks 2017-01-28 23:32:16 +00:00
patch.bbclass classes/patch: switch to new bb.build.tasksbetween() function 2017-02-07 14:50:09 +00:00
perlnative.bbclass base/perlnative/pythonnative/gzipnative: Add a new variable to enable easier handling of native path issues 2012-07-26 14:56:20 +01:00
pixbufcache.bbclass Switch to Recipe Specific Sysroots 2017-01-23 12:05:17 +00:00
pkgconfig.bbclass pkgconfig: Drop automatic pkgconfig RDEPENDS 2012-10-18 12:13:12 +01:00
populate_sdk.bbclass nativesdk: Switch to using nativesdk as a prefix, not a suffix 2012-09-02 05:52:06 -07:00
populate_sdk_base.bbclass meta: remove remaining True option to getVar calls 2017-01-31 14:43:02 +00:00
populate_sdk_ext.bbclass populate_ext_sdk: Merge auto.conf into local.conf 2017-03-03 11:16:12 +00:00
prexport.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
primport.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
ptest-gnome.bbclass ptest-gnome: extend EXTRA_OECONF in all builds, not just target 2015-11-24 15:50:25 +00:00
ptest.bbclass ptest.bbclass: use BPN in PTEST_PATH for multilib 2017-03-04 23:18:19 +00:00
python-dir.bbclass python3-dir.bbclass: add a separate class for Python 3 2016-06-01 12:38:41 +01:00
python3-dir.bbclass python3-dir.bbclass: add a separate class for Python 3 2016-06-01 12:38:41 +01:00
python3native.bbclass pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS += 2016-07-01 16:22:43 +01:00
pythonnative.bbclass pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS += 2016-07-01 16:22:43 +01:00
qemu.bbclass meta/scripts: Various getVar/getVarFlag expansion parameter fixes 2017-01-09 13:39:11 +00:00
qemuboot.bbclass qemuboot.bbclass: add blank lines in comments 2017-01-23 12:05:22 +00:00
recipe_sanity.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
relative_symlinks.bbclass openssl/fontconfig/bzip2: Use relative symlinks instead of absolute ones (using a new class) 2017-02-09 10:52:03 +00:00
relocatable.bbclass relocatable: Make native .pc files relocatable 2017-01-31 23:47:33 +00:00
remove-libtool.bbclass remove-libtool: add new class 2016-02-02 14:44:16 +00:00
report-error.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
rm_work.bbclass rm_work.bbclass: re-enable recursive do_rm_work_all 2017-03-22 11:35:21 +00:00
rm_work_and_downloads.bbclass rm_work_and_downloads.bbclass: more aggressively minimize disk usage 2017-01-20 11:53:48 +00:00
rootfs-postcommands.bbclass rootfs-postcommands.bbclass: drop insert_feed_uris function 2017-01-31 14:43:02 +00:00
rootfs_deb.bbclass run-postinsts: simplify the logic of whether to install it to images 2017-03-14 14:42:17 +00:00
rootfs_ipk.bbclass run-postinsts: simplify the logic of whether to install it to images 2017-03-14 14:42:17 +00:00
rootfs_rpm.bbclass run-postinsts: simplify the logic of whether to install it to images 2017-03-14 14:42:17 +00:00
rootfsdebugfiles.bbclass rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files 2015-04-24 11:06:55 +01:00
sanity.bbclass sanity.bbclass: modify check for shell 2017-03-16 22:11:32 +00:00
scons.bbclass scons.bbclass: rework parameters for install task 2016-09-24 07:30:10 +01:00
setuptools.bbclass classes: Add distutils for python3 2014-02-02 22:37:39 +00:00
setuptools3.bbclass python3-distribute: Upgrade to python3-setuptools 15.2 2015-06-08 17:34:04 +01:00
sign_ipk.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
sign_package_feed.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
sign_rpm.bbclass sign_rpm.bbclass: do not set/use RPM_GPG_PUBKEY 2017-03-23 13:19:49 +00:00
siteconfig.bbclass Switch to Recipe Specific Sysroots 2017-01-23 12:05:17 +00:00
siteinfo.bbclass arch-mips: Add MIPS 64r6 N32 tune 2016-12-22 08:50:16 +00:00
spdx.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
sstate.bbclass sstate: Ensure installation directory is empty before execution 2017-03-22 11:35:22 +00:00
staging.bbclass staging: Remove uninstalled dependencies from sysroots 2017-03-24 23:43:33 +00:00
syslinux.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
systemd-boot.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
systemd.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
terminal.bbclass terminal: Use original PATH for terminals 2017-03-13 09:42:09 +00:00
testexport.bbclass testexport.bbclass: Migrate testexport to use new framework 2017-01-23 12:05:21 +00:00
testimage-auto.bbclass classes: Fix do_rootfs references 2016-01-11 23:26:29 +00:00
testimage.bbclass meta/lib/oeqa: change sdk test from cvs to cpio 2017-03-22 11:35:21 +00:00
testsdk.bbclass testsdk: Fix lockfile patch 2017-03-03 12:21:09 +00:00
texinfo.bbclass texinfo.bbclass: use dummy dep for libtool-cross 2016-11-06 23:35:35 +00:00
tinderclient.bbclass meta/scripts: Various getVar/getVarFlag expansion parameter fixes 2017-01-09 13:39:11 +00:00
toaster.bbclass toaster.bbclass: Correct parsing of installed-package-sizes.txt 2017-03-17 16:53:05 +00:00
toolchain-scripts-base.bbclass toolchain-scripts-base: add base class for toolchain_create_sdk_version 2016-09-23 14:56:39 +01:00
toolchain-scripts.bbclass toolchain-scripts: remove CCACHE_PATH from environment script 2017-01-26 10:44:27 +00:00
typecheck.bbclass meta: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
uboot-config.bbclass meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
uboot-extlinux-config.bbclass u-boot: add option to specify FDT argument in extlinux.conf 2017-03-13 09:43:14 +00:00
uboot-sign.bbclass classes: Fix "U-boot", use proper spelling of "U-Boot". 2017-03-17 16:53:05 +00:00
uninative.bbclass uninative.bbclass: split long command 2017-03-17 16:53:06 +00:00
update-alternatives.bbclass update-alternatives.bbclass: Disable for mingw32 targets 2017-03-04 23:18:19 +00:00
update-rc.d.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
upstream-version-is-even.bbclass upstream-version-is-even.bbclass: exclude various alphas, betas, pre-releases etc. 2016-12-17 09:57:04 +00:00
useradd-staticids.bbclass useradd-staticids.bbclass: Always fail/warn for missing IDs 2017-03-22 11:35:20 +00:00
useradd.bbclass useradd.bbclass: drop obsolete code 2017-03-08 11:52:57 +00:00
useradd_base.bbclass useradd_base: keep group if it still has users 2017-01-26 10:44:27 +00:00
utility-tasks.bbclass meta: replace uses of bb.data.expand(VARNAME, d) with d.expand(VARNAME) 2017-03-22 11:35:19 +00:00
utils.bbclass classes: Drop now unneeded update_data calls 2017-02-15 09:29:55 -08:00
vala.bbclass vala.bbclass: remove pre-packaged vapigen.m4 from tarballs 2016-03-12 22:11:44 +00:00
waf.bbclass waf.bbclass: handle PACKAGECONFIG 2017-01-19 22:47:20 +00:00