[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] poky ref variable glossary seems to define IMAGE_ROOTFS_SIZE inaccurately
From: rpjday () crashcourse ! ca (Robert P ! J ! Day)
Date: 2012-06-30 11:32:41
Message-ID: alpine.DEB.2.02.1206300725040.15690 () oneiric
[Download RAW message or body]
here's the current definition:
http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-IMAGE_ROOTFS_SIZE
but if you look at the formula that's used in
meta/classes/image_types.bbclass:
ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{base_size = $1 *
${IMAGE_OVERHEAD_FACTOR} + ${IMAGE_ROOTFS_ALIGNMENT} - 1; base_size -=
base_size % ${IMAGE_ROOTFS_ALIGNMENT}; print ((base_size >
${IMAGE_ROOTFS_SIZE} ? base_size : ${IMAGE_ROOTFS_SIZE}) +
${IMAGE_ROOTFS_EXTRA_SPACE}) }'`
the value of IMAGE_ROOTFS_SIZE is simply one of the (possibly
user-supplied) values that is combined to produce the *actual* rootfs
size that is stored in ROOTFS_SIZE (and used later). i don't think
that's abundantly clear from the glossary entry, which initially
implies that IMAGE_ROOTFS_SIZE is the eventual size of the image.
or am i just reading this the wrong way?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic