summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e3bb748dd8..f16dcc20ff 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}