Re: [PATCH v10] util-linux: split uuid in separate recipe to allow bootstrapping

Luca Bocassi
2021-03-11T15:10:28Z

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]

On Thu, 2021-03-11 at 14:44 +0000, Richard Purdie wrote:
> On Thu, 2021-03-11 at 14:38 +0000, luca.boccassi@gmail.com wrote:
> > +# dm-verity support introduces a circular build dependency, so util-linux-uuid is split out for target builds
> > +# Need to build libuuid for uuidgen, but then delete it and let the other recipe ship it
> > +do_install_append () {
> > + rm -rf ${D}${includedir}/uuid ${D}${libdir}/pkgconfig/uuid.pc ${D}${libdir}/libuuid* ${D}/lib/libuuid* ${D}/libx32/libuuid* ${D}/lib64/libuuid*
> > +}
> > +
>
> I think you can replace:
>
> ${D}/lib/libuuid* ${D}/libx32/libuuid* ${D}/lib64/libuuid*
>
> with
>
> ${D}${base_libdir}/libuuid*
>
> ?

Thanks, seems to work locally, sent v11

--
Kind regards,
Luca Boccassi

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 499 bytes --]