On 04/07/2017 02:53 PM, colin.helliw...@ln-systems.com wrote:
I'd like to do a mod to my ppp recipe such that ip-up & ip-down aren't
installed if another package is in the image recipe i.e. set in
CORE_IMAGE_EXTRA_INSTALL.
I guess I could do a do_install_append() or a pkg_postinst_(), but is there
a way to detect the other package within the recipe? E.g. along the lines of
what PACKAGE_CONF can do for configuration.
Oh, and it needs to work after an update (e.g. rpm/deb) - don't want the
files (re)installed by the update. (So I don't believe
ROOTFS_POSTPROCESS_COMMAND is an option)
Maybe you should do this at runtime, and modify ip-up/down themselves
(or the thing that utilizes them) so that they do the right thing in
both scenarios.
Alex
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto