summaryrefslogtreecommitdiff
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-07 16:31:48 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-07 16:31:48 +0000
commit30238161a6ad7bb6f7a91d589567e1dd5b0196c7 (patch)
tree238b4dbc19852298dd767dbc7d9df50a3e7102fa /meta/classes/image.bbclass
parentb402db44f08040115c3e6f83ff90c931dd86fe57 (diff)
downloadopenembedded-core-30238161a6ad7bb6f7a91d589567e1dd5b0196c7.tar.gz
openembedded-core-30238161a6ad7bb6f7a91d589567e1dd5b0196c7.tar.bz2
openembedded-core-30238161a6ad7bb6f7a91d589567e1dd5b0196c7.tar.xz
openembedded-core-30238161a6ad7bb6f7a91d589567e1dd5b0196c7.zip
image.bbclass: Generate the image after running the kernel modules and ldconfig commands, not before
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index e3bb748dd..f16dcc20f 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -109,11 +109,6 @@ fakeroot do_rootfs () {
insert_feed_uris
- ${IMAGE_PREPROCESS_COMMAND}
-
- ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{print ${IMAGE_EXTRA_SPACE} + $1}'`
- ${@get_imagecmds(d)}
-
# Run ldconfig on the image to create a valid cache
# (new format for cross arch compatibility)
ldconfig -r ${IMAGE_ROOTFS} -c new
@@ -129,6 +124,11 @@ fakeroot do_rootfs () {
${TARGET_SYS}-depmod-2.6 -a -b ${IMAGE_ROOTFS} -F ${STAGING_KERNEL_DIR}/System.map-$KERNEL_VERSION $KERNEL_VERSION
fi
+ ${IMAGE_PREPROCESS_COMMAND}
+
+ ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{print ${IMAGE_EXTRA_SPACE} + $1}'`
+ ${@get_imagecmds(d)}
+
${IMAGE_POSTPROCESS_COMMAND}
${MACHINE_POSTPROCESS_COMMAND}