mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
bitbake.conf/image.bbclass: Backport the magic rootfs sizing code from trunk (from hrw)
This commit is contained in:
@@ -88,6 +88,8 @@ fakeroot do_rootfs () {
|
||||
rm -f ${IMAGE_ROOTFS}${libdir}/ipkg/lists/*
|
||||
|
||||
${IMAGE_PREPROCESS_COMMAND}
|
||||
|
||||
export ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{size = ${IMAGE_EXTRA_SPACE} + $1; print (size > ${IMAGE_ROOTFS_SIZE} ? size : ${IMAGE_ROOTFS_SIZE}) }'`
|
||||
|
||||
export TOPDIR=${TOPDIR}
|
||||
export MACHINE=${MACHINE}
|
||||
|
||||
Reference in New Issue
Block a user