* "run-postinsts" added twice to PACKAGE_INSTALL
@ 2016-10-23 12:51 Robert P. J. Day
2016-10-23 16:12 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2016-10-23 12:51 UTC (permalink / raw)
To: OE Core mailing list
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
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "run-postinsts" added twice to PACKAGE_INSTALL
2016-10-23 12:51 "run-postinsts" added twice to PACKAGE_INSTALL Robert P. J. Day
@ 2016-10-23 16:12 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2016-10-23 16:12 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: OE Core mailing list
On Sun, Oct 23, 2016 at 5:51 AM, Robert P. J. Day <rpjday@crashcourse.ca> 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
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-23 16:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-23 12:51 "run-postinsts" added twice to PACKAGE_INSTALL Robert P. J. Day
2016-10-23 16:12 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.