[OE-core] what means IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 3000000"?

Robert P. J. Day rpjday at crashcourse.ca
Wed Aug 17 14:01:29 UTC 2016


  as in, what's with the "+" in that "+ 3000000" value? i've never
seen that before, and i took a quick look under classes/ to try to
figure out what's happening, but i'm still confused.

  this is all in aid of the aforementioned "+=" cleanup, and i can see
some inconsistency as to whether there should be a leading space or
not in the assigned value:

classes/rootfs_rpm.bbclass:IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("PACKAGE_INSTALL", "smartpm", " + 102400", "" ,d)}"
recipes-core/images/core-image-minimal.bb:IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}"
recipes-extended/images/core-image-kernel-dev.bb:IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 3000000"

and the YP reference manual says nothing about a possible "+":

http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-IMAGE_ROOTFS_EXTRA_SPACE

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list