[poky] [PATCH 1/1] util-linux: create nativesdk lib packages

Burton, Ross ross.burton at intel.com
Fri Dec 8 09:38:18 PST 2017


On 8 December 2017 at 16:50, Gaël PORTAY <gael.portay at savoirfairelinux.com>
wrote:

> Hi Ross,
>
> On Fri, Dec 08, 2017 at 04:34:55PM +0000, Burton, Ross wrote:
> > On 7 December 2017 at 22:29, Gaël PORTAY <gael.portay at savoirfairelinux.
> com>
> > wrote:
> >
> > > +python populate_packages_prepend_class-nativesdk() {
> > > +    do_split_packages(d, '${libdir}', '^lib(.*)\.so\..*$',
> > > +                      output_pattern='nativesdk-util-linux-lib%s',
> > > +                      description='nativesdk-util-linux lib%s',
> > > +                      extra_depends='', prepend=True,
> allow_links=True)
> > > +}
> > >
> >
> > The existing populate_packages is good, it should just use ${PN} instead
> of
> > util-linux.
> >
> > Ross
>
> Well... I am not sure I get it :/
>
> How can I solve the following issue:
>
>         Collected errors:
>          * calculate_dependencies_for: Cannot satisfy the following
> dependencies for nativesdk-packagegroup-sdk-host:
>          *     nativesdk-util-linux-libuuid *
>          * opkg_solver_install: Cannot install package
> nativesdk-packagegroup-sdk-host.
>
> When I build the nativesdk image, the image needs this dependency
> (nativesdk-util-linux-libuuid) but it is not build because of the
> libuuid.so is located under /usr on nativesdk while it is located under
> / on cross.
>

Ah, I thought the problem was the naming of the packages, not the libdir.

Well, one fix would be to stop moving files around for target,  it's not
like the /lib vs /usr/lib split is actually useful...

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20171208/ef5eb5b7/attachment.html>


More information about the poky mailing list