* [RFC PATCH 1/3] image.bbclass: Separate out image generation into a new task, do_image
@ 2015-12-28 13:00 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-12-28 13:00 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index d2f8105..bee7d63 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -334,7 +334,6 @@ do_rootfs[prefuncs] += "rootfs_runtime_mapping"
fakeroot python do_rootfs () {
from oe.rootfs import create_rootfs
- from oe.image import create_image
from oe.manifest import create_manifest
# generate the initial manifest
@@ -342,11 +341,20 @@ fakeroot python do_rootfs () {
# generate rootfs
create_rootfs(d)
+}
+
+fakeroot python do_image () {
+ from oe.image import create_image
# generate final images
create_image(d)
}
+do_images[dirs] = "${TOPDIR}"
+do_image[lockfiles] += "${IMAGE_ROOTFS}.lock"
+do_image[umask] = "022"
+addtask do_image after do_rootfs before do_build
+
insert_feed_uris () {
echo "Building feeds for [${DISTRO}].."
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-28 13:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-28 13:00 [RFC PATCH 1/3] image.bbclass: Separate out image generation into a new task, do_image Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox