[OE-core] [PATCH][thud] mesa: ship /etc/drirc in mesa-megadriver

Martin Jansa martin.jansa at gmail.com
Fri Mar 8 13:52:26 UTC 2019


Interesting side-effect of this is that mesa package used to ship empty
/etc directory before, now it's empty and not created.

So be aware that if you had image/packagegroup installing mesa package for
whatever reason (by mistake most likely), you'll need to adjust that in
thud.

On Tue, Feb 26, 2019 at 1:52 AM Ross Burton <ross.burton at intel.com> wrote:

> Many years not shipping the stub drirc seemed like a good idea,
> but now it has content and is essential for some applications to run.
>
> Following patches in master, ship this file in mesa-megadriver.
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/recipes-graphics/mesa/mesa.inc | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/meta/recipes-graphics/mesa/mesa.inc
> b/meta/recipes-graphics/mesa/mesa.inc
> index 0cc0a82de49..f47f1aa20d8 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -141,8 +141,6 @@ do_install_append () {
>      rm -f ${D}${libdir}/gallium-pipe/*.la
>      rm -f ${D}${libdir}/gbm/*.la
>
> -    # it was packaged in libdricore9.1.3-1 and preventing upgrades when
> debian.bbclass was used
> -    rm -f ${D}${sysconfdir}/drirc
>      chrpath --delete ${D}${libdir}/dri/*_dri.so || true
>
>      # libwayland-egl has been moved to wayland 1.15+
> @@ -209,8 +207,8 @@ PACKAGESPLITFUNCS_prepend = "mesa_populate_packages "
>
>  PACKAGES_DYNAMIC += "^mesa-driver-.*"
>
> -FILES_${PN} += "${sysconfdir}/drirc"
> -FILES_mesa-megadriver = "${libdir}/dri/*"
> +FILES_${PN} = ""
> +FILES_mesa-megadriver = "${libdir}/dri/* ${sysconfdir}"
>  FILES_mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${datadir}/vulkan"
>  FILES_libegl-mesa = "${libdir}/libEGL.so.*"
>  FILES_libgbm = "${libdir}/libgbm.so.*"
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190308/b37b8797/attachment.html>


More information about the Openembedded-core mailing list