summaryrefslogtreecommitdiff
path: root/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-05-18 20:54:49 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-05-18 20:54:49 +0000
commitf941d53a64f990702b56e5ef93b2d5e76a9bb944 (patch)
tree0f4c70adfbe4c08a986b53d3940f8e6b9497b990 /classes/image.bbclass
parent18f8e80f6bdaa4ff5624e483376560bd31eb5be8 (diff)
image.bbclass: Fix image creation locking so creating multiple images at once works (#4193). Remap PACKAGE_INSTALL variable so packages to install can include names which are changed by debian.bbclass. (from poky)
Diffstat (limited to 'classes/image.bbclass')
-rw-r--r--classes/image.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass
index f8d896d813..35080c19eb 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -32,6 +32,8 @@ python () {
for dep in (bb.data.getVar('EXTRA_IMAGEDEPENDS', d, True) or "").split():
deps += " %s:do_populate_staging" % dep
bb.data.setVarFlag('do_rootfs', 'depends', deps, d)
+
+ runtime_mapping_rename("PACKAGE_INSTALL", d)
}
#
@@ -66,6 +68,7 @@ LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, bb.data.getVa
do_rootfs[nostamp] = "1"
do_rootfs[dirs] = "${TOPDIR}"
+do_rootfs[lockfiles] = "${IMAGE_ROOTFS}.lock"
do_build[nostamp] = "1"
# Must call real_do_rootfs() from inside here, rather than as a separate