Skip to contentSkip to conversation

"run-postinsts" added twice to PACKAGE_INSTALL

DISCUSSION Robert P. J. Day 2 participants 2 messages Oct 23, 2016

lore
Share & tools
lore
#0 lore raw

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.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 29 lines · Robert P. J. Day

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"
Quoted 3 lines

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.

Quoted 18 lines

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