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

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

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