On Tue, 22 Dec 2015 17:34:12 +0000 "Burton, Ross" <ross.bur...@intel.com> wrote:
> On 15 December 2015 at 09:49, Ioan-Adrian Ratiu <adrian.ra...@ni.com> wrote: > > > Split runuser into its own package (previously provided by util-linux). > > Since runuser is compiled only when DISTRO_FEATURES includes pam, > > the creation of util-linux-runuser is also constrained by this. > > > > What's the rationale for pulling this out into a separate package? I need runuser on a busybox image and can't install the entire util-linux package. > > > > PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'pylibmount', > > 'util-linux-pylibmount', '', d)}" > > +PACKAGES =+ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', > > 'util-linux-runuser', '', d)}" > > > > No need for conditionals: empty packages are not created. Thank you for this tip, I've modified and sent v4. > > Ross -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core