[oe] [PATCH] bitbake.conf: use ROOTFS_SIZE for gzip'd images

Leon Woestenberg leon.woestenberg at gmail.com
Thu Apr 23 10:26:55 UTC 2009


On Wed, Apr 22, 2009 at 6:59 AM, Roman I Khimov <khimov at altell.ru> wrote:
> On Wednesday 22 April 2009 00:51:15 Leon Woestenberg wrote:
>> Hello,
>>
>> On Mon, Mar 30, 2009 at 11:18 AM, Roman I Khimov <khimov at altell.ru> wrote:
>> > Make ext2.gz and ext3.gz images use ROOTFS_SIZE parameter for genext2s
>> > (as non-compressed ext2 and ext3 does).
>> >
>> > This allows to use IMAGE_EXTRA_SPACE configuration.
>>
>> Could you explain how this works?
>
> IMAGE_EXTRA_SPACE was brought into OE with commit
> d38f1dd24dd6ed94408aa49aad33e46634a129ff, see comment for that. This one just
> fixes it for compressed images.
>

Hmm, this part runs on the host:

ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}


Would this correctly work if my host has a, say 16kB block, XFS
filesystem? I.e. would "du -ks" correctly estimate the amount of
ext2/3 blocks needed to layout the rootfs on ext2/3?

Regards,
-- 
Leon




More information about the Openembedded-devel mailing list