mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
bitbake.conf/image.bbclass: Backport the magic rootfs sizing code from trunk (from hrw)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user