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

Richard Purdie
2021-03-11T14:44:43Z

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*

?

Cheers,

Richard