generic-poky/meta/classes
Richard Purdie 68baef9065 package_rpm: Ensure we take the sstate shared lockfile in the place we write files
The point we need to take the lock is when the rpm files are written into the
deploy rpm directory. Since sstate makes the actual installation of the files,
that is the point we need to take the lock. This also stops the deploy/rpm
directory being accessed for a lock before it exists.

[YOCTO #797]
[YOCTO #925]

(From OE-Core rev: 833a1e970f087dfcb32967cee3e24540f041cde0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-29 14:01:52 +01:00
..
autotools.bbclass autotools.bbclass: Fix automake file race issues 2011-03-10 18:14:28 -08:00
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
base.bbclass base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just happens before a build completes 2011-03-29 14:01:49 +01:00
base_srpm.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
binconfig.bbclass staging: Use relative path in sysroot-destdir for target recipes 2011-01-21 11:18:37 +00:00
boot-directdisk.bbclass bootimg/boot-directdisk.bbclass: Update afer syslinux changes, fix mbr.bin location and fix dependencies 2010-03-25 14:09:06 +00:00
bootimg.bbclass bitbake: machine specific sysroots implementation 2011-01-25 12:25:46 +00:00
buildstats.bbclass buildstats.bbclass: Remove unneeded debug output 2011-02-16 23:17:59 +00:00
ccache.inc classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE) 2006-11-20 09:16:34 +00:00
ccdv.bbclass Fix STAGING_BINDIR for multimachine use by spliting into STAGING_BINDIR and STAGING_BINDIR_NATIVE and adding both to PATH 2006-11-25 10:01:30 +00:00
cmake.bbclass cmake.bbclass: sync from openembedded 2010-08-31 17:19:53 +01:00
cml1.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
cpan-base.bbclass cpan.bbclass: use LIBDIR instead of DATADIR 2011-01-12 00:55:48 -08:00
cpan.bbclass cpan.bbclass: add a new parameter EXTRA_PERLFLAGS 2011-01-12 00:55:48 -08:00
cpan_build.bbclass cpan.bbclass: use LIBDIR instead of DATADIR 2011-01-12 00:55:48 -08:00
cross-canadian.bbclass cross-canadian.bbclass: Correct deb package arch. 2011-01-28 17:00:59 +00:00
cross.bbclass cross.bbclass: Move sysroot_stage_all function to the only place that uses it now (gcc-cross-intermediate) 2011-01-26 11:37:32 +00:00
crosssdk.bbclass crosssdk: Drop PACKAGES setting as its set in cross.bbclass already 2011-01-26 12:06:52 +00:00
debian.bbclass debian.bbclass: call auto_libname in reverse sorted AUTO_LIBNAME_PKGS 2011-03-10 18:14:20 -08:00
deploy.bbclass bitbake/sstate: Implement a lookup function to speed up setscene processing 2010-10-05 22:26:33 +01:00
devshell.bbclass Ensure Bash is used when spawning terminals 2011-02-24 15:54:09 +00:00
distrodata.bbclass distrodata.bbclass: Get git repo tag information 2011-03-04 22:26:35 +00:00
distutils-base.bbclass distutils-base: Only RDEPEND python-core on target packages 2011-03-10 18:14:21 -08:00
distutils-common-base.bbclass distutils(-common-base) bbclass: sync with OE 2011-01-20 21:37:00 +00:00
distutils-native-base.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
distutils.bbclass distutils(-common-base) bbclass: sync with OE 2011-01-20 21:37:00 +00:00
flow-lossage.bbclass classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE) 2006-11-20 09:16:34 +00:00
gconf.bbclass debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes 2009-11-16 10:52:35 +00:00
gettext.bbclass gettext.bbclass: Set the gettext dependencies correctly for target, cross and native packages 2010-01-05 21:10:47 +00:00
gnome.bbclass gnome.bbclass: Remove autotools_stage reference 2010-11-02 10:15:27 +00:00
gtk-doc.bbclass classes: Add gtk-doc.bbclass 2008-05-15 14:11:13 +00:00
gtk-icon-cache.bbclass gdk-pixbuf: Add 2.22.1 as new recipe 2011-01-20 21:36:56 +00:00
icecc.bbclass Install cross-packages into the native sysroot 2010-04-27 18:29:57 +01:00
image-mklibs.bbclass image-mklibs.bbclass: add the library optimization functionality 2011-02-09 22:45:47 +00:00
image-prelink.bbclass rpm: Fix rpm usage of prelink on the target 2011-02-25 17:34:20 -06:00
image-swab.bbclass image-swab: Convert to attach strace to the process to obtain the required swabber data 2011-02-10 11:51:48 +00:00
image.bbclass image.bbclass: Remove uneeded do_populate_sysroot requirement for images 2011-03-29 14:01:50 +01:00
image_types.bbclass image_types.bbclass: Drop IMAGE_EXTRA_OPTION in favour of the more standard EXTRA_IMAGECMD 2011-03-25 16:34:24 +00:00
imagetest-dummy.bbclass test: add automation framework and sanitytest 2010-07-15 12:48:25 +01:00
imagetest-qemu.bbclass qemuimagetest: Use same image during sanity testing instead of copying a new image for each case 2011-01-20 21:36:57 +00:00
insane.bbclass insane.bbclass: Fix ELF bitsize comparison 2011-03-03 16:57:44 +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 kernel-arch: x86-64 is no longer a valid architecture, map it to x86 2010-08-13 17:16:19 +01:00
kernel-yocto.bbclass linux-yocto: enable audio for selected qemu targets 2011-02-23 16:23:32 +00:00
kernel.bbclass base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just happens before a build completes 2011-03-29 14:01:49 +01:00
lib_package.bbclass lib_package.bbclass: Sync with OE.dev to remove hardcoded layout assumption 2009-11-16 10:53:16 +00:00
libc-package.bbclass libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions 2011-02-17 00:17:01 +00:00
license.bbclass Fixing type: license.bbclass 2011-02-26 14:15:50 -08:00
linux-kernel-base.bbclass linux-kernel-base.bbclass: merge version detection updates from upstream 2010-05-20 14:14:22 +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 metadata_scm: Ensure that if an SCM isn't present, we dont print a revision of 'fatal:' as it looks bad 2010-10-21 23:26:40 +01:00
mirrors.bbclass mirrors.bbclass: Ensure we don't overwrite any existing MIRRORS variable 2011-02-11 23:50:46 +00:00
module-base.bbclass module*.bbclass: set AR to KERNEL_AR during building of kernel modules 2008-01-08 14:40:51 +00:00
module.bbclass kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules 2011-03-23 15:43:46 +00:00
module_strip.bbclass kernel/package.bbclass: Handle kernel module stripping centrally 2010-08-10 14:47:41 +01:00
mozilla.bbclass mozilla.bbclass: Fix pkgconfig usage for pkgconfig sysroot 2009-01-23 15:51:44 +00:00
native.bbclass native: empty PACKAGES_DYNAMIC the way we do PACKAGES 2011-03-23 15:43:49 +00:00
nativesdk.bbclass bitbake: machine specific sysroots implementation 2011-01-25 12:25:46 +00:00
oelint.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
openmoko-base.bbclass Update SRC_URIs to use BPN instead of PN 2011-03-14 22:36:25 +00:00
openmoko-panel-plugin.bbclass openmoko-panel-gsm: add openmoko-panel-gsm, om-panel-plugin.bbclass, and srvrev 2008-08-08 14:43:09 +00:00
openmoko.bbclass openmoko: added classes needed by openmoko-libs 2007-07-09 14:21:05 +00:00
openmoko2.bbclass Update SRC_URIs to use BPN instead of PN 2011-03-14 22:36:25 +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: Fix missing debug src files 2011-03-16 16:45:06 +00:00
package_deb.bbclass package_deb.bbclass: Place the whole task under fakeroot context to fix build failures 2011-02-22 10:53:25 +00:00
package_ipk.bbclass rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipk 2011-02-01 23:59:37 +00:00
package_rpm.bbclass package_rpm: Ensure we take the sstate shared lockfile in the place we write files 2011-03-29 14:01:52 +01:00
package_tar.bbclass package_*.bbclass: Always run these tasks under fakeroot 2010-08-19 22:36:26 +01:00
packagedata.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
packagehistory.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
patch.bbclass meta/classes: Update classes to use new fetcher API 2011-02-07 09:06:37 +00:00
patcher.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
pkg_distribute.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
pkg_metainfo.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
pkgconfig.bbclass pkgconfig.bbclass: No longer default to pkgconfig_stage code (breaks libdrm) 2009-07-07 15:13:56 +01:00
poky-autobuild-notifier.bbclass classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything 2010-12-31 09:51:18 +00:00
poky-image.bbclass poky-image.bbclass: add ssh-server-dropbear to SATO_IMAGE_FEATURES 2011-03-16 13:54:32 +00:00
populate_sdk.bbclass toolchain-script/populate_sdk/meta-toolchain: moving common code. 2011-02-17 17:25:21 -08:00
populate_sdk_deb.bbclass Misc hard link fixes 2011-02-09 22:46:30 +00:00
populate_sdk_ipk.bbclass populate_sdk_ipk.bbclass: Added ipk support in populate_sdk task. 2011-02-01 23:59:38 +00:00
populate_sdk_rpm.bbclass populate_sdk_rpm.bbclass: Add the necessary solvedb lock 2011-02-28 20:48:08 +00:00
python-dir.bbclass python-dir bbclass: import from OE 2011-01-20 21:37:00 +00:00
qemu.bbclass eglibc: import eglibc_2.12 recipe from OE 2010-08-13 23:37:30 +01:00
qmake2.bbclass qt4: Enable accessibility and sm option for LSB. 2011-01-20 21:37:01 +00:00
qmake_base.bbclass Import files from OE to build WebKit (patch to link icu required) 2007-12-06 10:23:27 +00:00
qt4e.bbclass qt4: add qt4-embedded 4.6.3 from meta-openembedded 2011-02-01 16:10:11 +00:00
qt4x11.bbclass qt4: Bring in improvements from meta-openembedded 2011-02-01 15:57:26 +00:00
relocatable.bbclass relocatable.bbclass: Cover libexecdir 2010-08-12 14:41:30 +01:00
rm_work.bbclass rm_work.bbclass: Improve handling of noexec tasks 2011-02-21 12:58:06 +00:00
rootfs_deb.bbclass rootfs_deb/package_deb.bbclass: move func from rootfs_deb to package_deb 2011-02-01 23:59:37 +00:00
rootfs_ipk.bbclass rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipk 2011-02-01 23:59:37 +00:00
rootfs_rpm.bbclass rootfs_rpm.bbclass: Add additional system configuration to RPM space 2011-03-16 16:44:59 +00:00
sanity.bbclass sanity.bbclass: check for duplicates in PACKAGE_ARCHS 2011-03-18 16:48:01 +00:00
scons.bbclass classes: Sync various classes with OE for various bugfixes 2007-08-08 20:41:55 +00: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
singlemachine.bbclass Merge multimachine class into bitbake.conf and create singlemachine.bbclass as a backwards compatibility option 2008-07-17 20:49:48 +00:00
sip.bbclass sip.bbclass: Sync with OE 2007-09-02 11:07:13 +00:00
siteconfig.bbclass bitbake: machine specific sysroots implementation 2011-01-25 12:25:46 +00:00
siteinfo.bbclass siteinfo: add SITECONFIG_SYSROOTCACHE definition in place of hard-coded path 2010-09-10 12:56:56 +01:00
sourcepkg.bbclass Misc hard link fixes 2011-02-09 22:46:30 +00:00
src_distribute.bbclass src_distribute: Set EXPORT_FUNCTIONS correctly 2010-11-01 10:48:43 +00:00
src_distribute_local.bbclass classes: Sync various classes with OE for various bugfixes 2007-08-08 20:41:55 +00:00
srec.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
sstate.bbclass sstate: Add support for taking shared lockfiles 2011-03-29 14:01:51 +01:00
staging.bbclass Misc hard link fixes 2011-02-09 22:46:30 +00:00
syslinux.bbclass syslinux.bbclass: Clean up boot menu title 2008-10-17 08:39:34 +00:00
task.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
tinderclient.bbclass classes: Drop Handled/NotHandled eventhandler keywords, they don't do anything 2010-12-31 09:51:18 +00:00
tmake.bbclass Remove hardcoded staging layout assumptions 2007-11-12 11:10:08 +00:00
toolchain-scripts.bbclass toolchain-scripts.bbclass: Added --sysroot to CPPFLAGS. 2011-03-18 11:36:54 +00:00
update-alternatives.bbclass update-alternatives.bbclass: don't expand var when appending do_install 2010-11-21 18:17:24 +00:00
update-rc.d.bbclass update-rc.d.bbclass: Changed RDEPENDS for native 2011-01-24 14:09:14 -08:00
utility-tasks.bbclass base/utility-tasks.bbclass: Drop do_setscene and do_rebuild 2011-03-01 00:10:56 +00:00
utils.bbclass utils.bbclass: add new wrapper script 2011-02-25 16:20:31 -08:00
xfce.bbclass Update SRC_URIs to use BPN instead of PN 2011-03-14 22:36:25 +00:00
xlibs.bbclass Finally deprecate all legacy do_stage functions. This changes the existing warning 2010-07-22 11:44:28 +01:00