summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/image.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass
index e9c0ecd947..901ab340ae 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -107,6 +107,7 @@ fakeroot do_rootfs () {
${IMAGE_PREPROCESS_COMMAND}
+ ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{print ${IMAGE_EXTRA_SPACE} + $1}'`
${@get_imagecmds(d)}
${IMAGE_POSTPROCESS_COMMAND}