On Sun, Oct 23, 2016 at 5:51 AM, Robert P. J. Day <[email protected]> wrote: > > minor observation ... messing with toolchains, and i noticed (via > "bb"): > > $ bb show -r core-image-minimal PACKAGE_INSTALL > Parsing recipes..done. > # PACKAGE_INSTALL=${IMAGE_INSTALL} ${ROOTFS_BOOTSTRAP_INSTALL} > ${FEATURE_INSTALL} > export PACKAGE_INSTALL="packagegroup-core-boot run-postinsts > run-postinsts " > > wait a minute ... why is "run-postinsts" listed twice? (no harm, of > course, just superfluous.) > > so ... > > $ bb show -r core-image-minimal IMAGE_INSTALL > Parsing recipes..done. > # IMAGE_INSTALL=packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} > ${CORE_IMAGE_EXTRA_INSTALL} > IMAGE_INSTALL="packagegroup-core-boot run-postinsts " > > > $ bb show -r core-image-minimal ROOTFS_BOOTSTRAP_INSTALL > Parsing recipes..done. > # ROOTFS_BOOTSTRAP_INSTALL=${@bb.utils.contains("IMAGE_FEATURES", > "package-management", "", "${ROOTFS_PKGMANAGE_BOOTSTRAP}",d)} > ROOTFS_BOOTSTRAP_INSTALL="run-postinsts" > > so it's being added both as part of IMAGE_INSTALL and as part of > ROOTFS_BOOTSTRAP_INSTALL. someone else is free to decide whether > that's worth caring about.
ROOTFS_BOOTSTRAP_INSTALL is conditional upon package-management feature so if you want to enforce post installs irrespective then you have to demand it explicitly. > > rday > > -- > > ======================================================================== > Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > > Twitter: http://twitter.com/rpjday > LinkedIn: http://ca.linkedin.com/in/rpjday > ======================================================================== > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
