generic-poky/meta/classes
Richard Purdie d60912993d sstate.bbclass: Optimise sstate_hardcode_path
The sstate_hardcode_path() function triggered large numbers of exec()
calls when processing packages with large numbers of file relocations
(e.g. perl). This patch optimises those calls into longer single commands
which make the code significantly more efficient.

This reduced the do_package time for perl by 2 minutes (from 4.75 minutes)
for me.

(From OE-Core rev: 4159ff761cf29a03aeb56c7686a4e7af02b52219)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-10 14:38:45 +00:00
..
allarch.bbclass allarch.bbclass: disable shlib and debug symbol processing 2011-11-07 14:05:41 +00:00
autotools.bbclass autotools.bbclass: Introduce CACHED_CONFIGUREVARS 2012-01-10 17:28:45 +00:00
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
base.bbclass base.bbclass: replace COMMERCIAL_LICENSE code with LICENSE_FLAGS code 2012-01-24 11:54:15 +00:00
binconfig.bbclass binconfig: improve handling of empty prefixes 2011-06-01 18:34:36 +01:00
boot-directdisk.bbclass boot-directdisk: fix bzImage source location 2011-05-05 12:26:48 +01:00
bootimg.bbclass bootimg: Use the same OS files for each boot method 2012-02-08 00:50:22 +00:00
bugzilla.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
buildhistory.bbclass classes/buildhistory: sort list fields in package info 2012-02-08 10:57:09 +00:00
buildstats.bbclass buildstats: tolerate absence of /proc/diskstats 2012-01-16 12:24:57 +00:00
cmake.bbclass Add EXTERNAL_TOOLCHAIN to CMAKE_FIND_ROOT_PATH 2012-02-03 16:33:21 +00:00
cml1.bbclass cml1/kernel: Update do_menuconfig to use oe.terminal() 2011-09-15 11:23:59 +01:00
copyleft_compliance.bbclass oe.license: avoid the need to catch SyntaxError 2012-01-17 14:53:19 +00:00
core-image.bbclass classes,recipes: Replace POKY_* with CORE_IMAGE_* 2012-02-08 00:50:29 +00:00
cpan-base.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
cpan.bbclass cpan.bbclass: fix native perl issue 2011-09-07 22:54:16 +01:00
cpan_build.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
cross-canadian.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
cross.bbclass cross.bbclass: add virtclass handler 2012-02-10 14:38:40 +00:00
crosssdk.bbclass multilib.bbclass: Partially fix multlib image targets 2011-09-22 22:23:37 +01:00
debian.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
deploy.bbclass bitbake/sstate: Implement a lookup function to speed up setscene processing 2010-10-05 22:26:33 +01:00
devshell.bbclass Rework how the devshell functions 2011-08-10 13:33:07 +01:00
distrodata.bbclass distrodata.bbclass:Fix some recipes upstream version check issue. 2011-12-06 14:38:42 +00:00
distutils-base.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
distutils-common-base.bbclass distutils(-common-base) bbclass: sync with OE 2011-01-20 21:37:00 +00:00
distutils-native-base.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
distutils.bbclass distutils.bbclass: override LDSHARED so we use the linker for this build and not the one used in sstate-cache 2012-02-10 14:38:41 +00:00
dummy.bbclass bootimg: Add grub-efi support 2011-11-30 22:18:08 +00:00
gconf.bbclass gconf.bbclass: Add proper RDEPENDS to packages with gconf postinststep. 2012-02-02 18:28:27 +00:00
gettext.bbclass cross-recipes: Disable nls in gettext bbclass 2011-12-15 14:36:23 +00:00
gnome.bbclass classes/[gnome|gnomebase|mime]: enhance gnome related classes 2011-11-10 11:37:11 +00:00
gnomebase.bbclass classes/[gnome|gnomebase|mime]: enhance gnome related classes 2011-11-10 11:37:11 +00:00
grub-efi.bbclass bootimg: Use the same OS files for each boot method 2012-02-08 00:50:22 +00:00
gtk-doc.bbclass classes: Add gtk-doc.bbclass 2008-05-15 14:11:13 +00:00
gtk-icon-cache.bbclass gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst 2012-01-10 17:28:44 +00:00
icecc.bbclass icecc.bbclass: also use icecc for kernel modules compilation 2011-12-19 09:29:17 +00:00
image-empty.bbclass classes/image*: Revamp creation of live images 2011-07-27 12:02:46 +01:00
image-live.bbclass image-live.bbclass: allow override of initrd image 2011-10-14 13:18:15 +01:00
image-mklibs.bbclass image-mklibs/package_ipk: Remove bashisms 2012-01-05 22:26:25 +00:00
image-prelink.bbclass classes: Remove various bashisms 2011-11-10 11:51:18 +00:00
image-swab.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
image.bbclass Incremental rpm image generation 2012-01-11 10:36:22 +00:00
image_types.bbclass image_types.bbclass: refactor cpio images generation. 2012-02-01 15:07:41 +00:00
image_types_uboot.bbclass image_types_uboot.bbclass: Add uncompressed ext2 image option 2012-01-17 14:53:21 +00:00
imagetest-dummy.bbclass test: add automation framework and sanitytest 2010-07-15 12:48:25 +01:00
imagetest-qemu.bbclass sanitytest: remove rpm/zypper tests if PACKAGE_CLASSES does not set package_rpm 2011-11-18 10:47:15 +00:00
insane.bbclass insane.bbclass: Add test for static .a libraries in non-staticdev packages 2012-01-26 20:48:01 +00:00
insserv.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
kernel-arch.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
kernel-yocto.bbclass linux-yocto: locate and use out of tree features specified on the SRC_URI 2012-02-08 00:50:26 +00:00
kernel.bbclass kernel.bbclass: fix pkg_postinst and pkg_postrm 2011-12-24 10:05:46 +00:00
lib_package.bbclass lib_package.bbclass: move static libraries to ${PN}-staticdev 2011-06-28 13:55:42 +01:00
libc-common.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
libc-package.bbclass external-csl-toolchain: fixes for metadata changes 2012-02-02 16:55:31 +00:00
license.bbclass license.bbclass: add support for LICENSE_FLAGS 2012-01-24 11:54:15 +00:00
linux-kernel-base.bbclass kernel.bblass: remove get_kernelmajorversion 2011-07-01 23:34:18 +01:00
logging.bbclass logging: add bb* logging mechanisms for bash recipe functions 2011-04-28 10:45:41 +01:00
meta.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
metadata_scm.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
mime.bbclass mime.bbclass: Add --disable-update-mimedb to EXTRA_OECONF 2011-11-21 16:48:53 +00:00
mirrors.bbclass mirrors.bbclass: Add yp.org and oe.org to fallback mirrors 2012-02-08 00:50:30 +00:00
module-base.bbclass kernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables 2011-08-05 17:16:03 +01:00
module.bbclass module.bbclass: add lock to prevent error bulding ext modules 2011-10-20 17:13:41 +01:00
module_strip.bbclass kernel/package.bbclass: Handle kernel module stripping centrally 2010-08-10 14:47:41 +01:00
multilib.bbclass multilib: Abstract class extension code into classextend.py 2012-01-05 12:36:29 +00:00
multilib_global.bbclass multilib: Abstract class extension code into classextend.py 2012-01-05 12:36:29 +00:00
multilib_header.bbclass multilib_header.bbclass: Add oe_multilib_header wrapper 2011-07-27 15:45:47 +01:00
native.bbclass native.bbclass: Fix variable remapping coverage 2012-01-05 12:36:28 +00:00
nativesdk.bbclass nativesdk.bbclass: Remove historical FILES artifact 2011-12-16 16:05:36 +00:00
oelint.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
own-mirrors.bbclass own-mirrors.bbclass: Bring own-mirrors.bbclass from oe commit 0ef914b250df46a41348479446214575668943fb 2011-03-15 01:19:26 +00:00
package.bbclass package bbclass: allow per package PRIVATE_LIBS 2012-02-01 15:15:15 +00:00
package_deb.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
package_ipk.bbclass image-mklibs/package_ipk: Remove bashisms 2012-01-05 22:26:25 +00:00
package_rpm.bbclass classes: replace 'Poky' with 'OE-core' 2012-02-01 15:07:42 +00:00
package_tar.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
packagedata.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
patch.bbclass classes/patch: optionally return non-patch sources 2012-02-03 17:22:12 +00:00
perlnative.bbclass cmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native 2011-08-17 15:14:54 +01:00
pkg_distribute.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
pkg_metainfo.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
pkgconfig.bbclass pkgconfig: Ensure pkgconfig RDEPENDS are tracked 2012-02-01 15:15:14 +00:00
populate_sdk.bbclass populate_sdk.bbclass: remap packages when generating sdk tarball 2011-12-06 22:47:02 +00:00
populate_sdk_deb.bbclass populate_*.bbclass: Correct INSTALL variable name after recent multilib changes 2011-11-10 18:05:57 +00:00
populate_sdk_ipk.bbclass populate_sdk_ipk.bbclass: Ensure the correct environment is setup for postinstalls 2012-01-04 14:14:10 +00:00
populate_sdk_rpm.bbclass populate_*.bbclass: Correct INSTALL variable name after recent multilib changes 2011-11-10 18:05:57 +00:00
prexport.bbclass meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
primport.bbclass meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
prserv.bbclass meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
python-dir.bbclass python-dir: change PYTHON_BASEVERSION to 2.7 2011-10-31 22:03:22 +00:00
qemu.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
qmake2.bbclass qt4: Enable accessibility and sm option for LSB. 2011-01-20 21:37:01 +00:00
qmake_base.bbclass bitbake.conf: remove some redundant/unnecessary variable exports 2012-01-04 14:14:10 +00:00
qt4e.bbclass qt4e.bbclass: add QT_BASE_NAME for use in recipes 2012-01-06 12:11:32 +00:00
qt4x11.bbclass qt4x11.bbclass: add QT_BASE_NAME for use in recipes 2012-01-06 12:11:32 +00:00
recipe_sanity.bbclass import recipe_sanity.bbclass from oe master 2011-06-14 15:28:23 +01:00
relocatable.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
rm_work.bbclass rm_work: keep all sigdata files in stamps dir 2011-05-27 00:48:12 +01:00
rootfs_deb.bbclass classes/image: implement generic locale package installation 2012-01-03 12:14:26 +00:00
rootfs_ipk.bbclass rootfs_ipk: remove runtime_script_required usage 2012-02-01 15:07:44 +00:00
rootfs_rpm.bbclass Incremental rpm image generation 2012-01-11 10:36:22 +00:00
sanity.bbclass classes: replace 'Poky' with 'OE-core' 2012-02-01 15:07:42 +00:00
scons.bbclass logging: update existing oe* logging users to the bb* interface 2011-05-04 00:54:37 +01:00
sdl.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
setuptools.bbclass setuptools bbclass: import from OE 2011-01-20 21:37:00 +00:00
sip.bbclass bitbake.conf: remove some redundant/unnecessary variable exports 2012-01-04 14:14:10 +00:00
siteconfig.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
siteinfo.bbclass siteinfo: create a new siteinfo for x32-linux 2011-12-12 21:50:19 +00:00
sourcepkg.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
src_distribute.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
src_distribute_local.bbclass src_distribute.bbclass, src_distribute_local.bbclass: mostly rewritten 2011-10-20 17:13:36 +01:00
sstate.bbclass sstate.bbclass: Optimise sstate_hardcode_path 2012-02-10 14:38:45 +00:00
staging.bbclass classes: replace 'Poky' with 'OE-core' 2012-02-01 15:07:42 +00:00
syslinux.bbclass bootimg: Use the same OS files for each boot method 2012-02-08 00:50:22 +00:00
task.bbclass getVar/setVar cleanups 2011-11-27 10:25:34 +00:00
terminal.bbclass terminal.bbclass: Improve environment handling 2011-09-09 18:39:26 +01:00
tinderclient.bbclass classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything 2010-12-31 09:51:18 +00:00
toolchain-scripts.bbclass classes: replace 'Poky' with 'OE-core' 2012-02-01 15:07:42 +00:00
typecheck.bbclass Implement variable typing (sync from OE) 2011-05-20 17:34:22 +01:00
update-alternatives.bbclass classes/update-alternatives: fix typos and grammar 2012-01-05 11:23:11 +00:00
update-rc.d.bbclass update-rc.d.bbclass: override UPDATERCD for nativesdk 2011-12-16 16:12:46 +00:00
useradd.bbclass useradd.bbclass: skip processing on virtclass-cross extended packages 2012-02-10 14:38:40 +00:00
utility-tasks.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
utils.bbclass Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00