bitbake.conf/image.bbclass: Backport the magic rootfs sizing code from trunk (from hrw)

This commit is contained in:
Richard Purdie committed 2009-01-23 16:27:25 +00:00
1 parent ebe7499a5e
commit 2cf9a10026
2 files changed
+6 -4

No files matched your search

+1
View File
@@ -107,6 +107,7 @@ fakeroot do_rootfs () {
${IMAGE_PREPROCESS_COMMAND}
ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{size = ${IMAGE_EXTRA_SPACE} + $1; print (size > ${IMAGE_ROOTFS_SIZE} ? size : ${IMAGE_ROOTFS_SIZE}) }'`
${@get_imagecmds(d)}
# Run ldconfig on the image to create a valid cache