generic-poky/meta/classes
Bruce Ashfield 54d1f5fc3e linux-yocto: make kernel_checkout reentrant
The steps in do_kernel_checkout modify the source tree in WORKDIR.
If it is called multiple times, or interrupted, the tree is left
in an inconsistent state.

This change adds protections around branch names, and around the
manipulations of directories to ensure that it is safe to call
at any point.

(From OE-Core rev: f937977f241e786c5a7438449ed4c9da4c55829b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-02 15:22:53 +00:00
..
allarch.bbclass allarch.bbclass: disable shlib and debug symbol processing 2011-11-07 14:05:41 +00:00
autotools.bbclass autotools.bbclass: Make builds deterministic 2012-02-24 00:12:02 +00:00
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
base.bbclass site.conf.sample: Fix broken SOCKS proxy setup and configuration 2012-03-01 16:35:53 +00:00
binconfig.bbclass binconfig: improve handling of empty prefixes 2011-06-01 18:34:36 +01:00
boot-directdisk.bbclass boot-directdisk: Use correct SYSLINUX_TIMEOUT and SYSLINUX_ROOT instead of APPEND 2012-02-23 23:59:39 +00:00
bootimg.bbclass bootimg: Fix Quoting 2012-02-28 17:51:51 +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: fix splitting on + in package list fields 2012-02-21 17:59:37 +00:00
buildstats.bbclass More quoting fixes 2012-02-28 13:14:42 +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 cross-canadian: Set STAGING_DIR_HOST correctly 2012-02-26 10:56:44 +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
externalsrc.bbclass externalsrc.bbclass: Add class for handling external source trees 2012-03-01 15:56:50 +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: Allow LABELS to be modified 2012-03-01 15:51:38 +00: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-vmdk.bbclass image-vmdk: Create image_vmdk class and setup image and image_types to use it 2012-03-01 15:51:40 +00:00
image.bbclass image-vmdk: Create image_vmdk class and setup image and image_types to use it 2012-03-01 15:51:40 +00:00
image_types.bbclass image_types: Ensure dependencies for compression types containing multiple dots are handled correctly 2012-03-02 12:31:30 +00:00
image_types_uboot.bbclass image_types_uboot: Update to work after recent image_types changes 2012-02-29 18:25:03 +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: Only depend on desktop-file-utils-native when we need it 2012-02-24 00:12:02 +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: make kernel_checkout reentrant 2012-03-02 15:22:53 +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: Symbolic links of generic license 2012-02-24 23:25:52 +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.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden 2012-02-28 12:27:51 +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: Add a sanity check to the debugsrcdir removal code 2012-02-24 16:11:27 +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
packageinfo.bbclass packageinfo.bbclass: add a new bbclass to pass package information 2012-02-24 00:39:09 +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.bbclass: fix status file location in rootfs 2012-02-24 00:45:44 +00:00
rootfs_rpm.bbclass Incremental rpm image generation 2012-01-11 10:36:22 +00:00
sanity.bbclass sanity.bbclass: Add ABI version 8, used for transition from the OEBasic to OEBasicHash stamp layout 2012-02-22 22:06:19 +00:00
scons.bbclass logging: update existing oe* logging users to the bb* interface 2011-05-04 00:54:37 +01:00
sdl.bbclass classes/sdl: remove Opie-specific desktop file/packaging 2012-02-21 17:00:46 +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: improve performance of sstate package creation 2012-02-24 17:06:57 +00:00
staging.bbclass Quoting fixes 2012-02-26 12:52:12 +00:00
syslinux.bbclass syslinux: add SYSLINUX_ROOT to APPEND line 2012-02-23 23:59:38 +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 toolchain-scripts: Exclude variables causing the recipe to become unecessarily machine specific 2012-03-01 15:56:50 +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: do nothing for extended cross packages 2012-02-24 00:47:51 +00:00
useradd.bbclass useradd.bbclass: override USERADDSETSCENEDEPS to empty when building cross packages 2012-02-24 23:25:52 +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