[oe-commits] org.oe.dev 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)

rpurdie commit oe at amethyst.openembedded.net
Sun May 18 20:57:21 UTC 2008


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)

Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: 3dfeb44907c81f6def296b241d716d7c3644f45c
ViewMTN: http://monotone.openembedded.org/revision/info/3dfeb44907c81f6def296b241d716d7c3644f45c
Files:
1
classes/image.bbclass
Diffs:

#
# mt diff -r877e06661e8de46879b47ec9f82a7dc9b5ca75cd -r3dfeb44907c81f6def296b241d716d7c3644f45c
#
#
#
# patch "classes/image.bbclass"
#  from [e1da20bc3a6143fb41abbfe3d0a7070416bdde17]
#    to [4ce2b3c777b457b63352a87b70b325fc84e10644]
#
============================================================
--- classes/image.bbclass	e1da20bc3a6143fb41abbfe3d0a7070416bdde17
+++ classes/image.bbclass	4ce2b3c777b457b63352a87b70b325fc84e10644
@@ -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 @@ do_rootfs[dirs] = "${TOPDIR}"
 
 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






More information about the Openembedded-commits mailing list