]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: Fix rootfs conflict with libvulkan-dev
authorTom Hochstein <tom.hochstein@nxp.com>
Fri, 23 Oct 2020 18:17:49 +0000 (11:17 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 13 Jan 2021 04:08:21 +0000 (01:08 -0300)
The rootfs stage is failing with the following error:

```
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libvulkan-imx-dev : Conflicts: libvulkan-dev
                     Recommends: libglslc-imx-dev but it is not installable
                     Recommends: libvsc-imx-dev but it is not installable
E: Unable to correct problems, you have held broken packages.
```

It seems this is a result of disabling debian renaming. This was
originally added in an NXP layer due to a conflict with a vulkan
recipe that is no longer being used. Restoring the overrides
for libvulkan-imx to the default state fixes the build break.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc

index 43a82a48a46b2de70f6022d90a41126e7457d135..9eeea103c402a0b7dd8785e86541f1dbf7e62755 100644 (file)
@@ -121,7 +121,7 @@ python __anonymous() {
     # they don't get Debian-renamed (which would remove the -imx suffix).
     for p in (("libegl", "libegl1"), ("libgl", "libgl1"),
               ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2"),
-              ("libgles3",) , ("libvulkan",), ("libgbm",)):
+              ("libgles3",), ("libgbm",)):
         fullp = p[0] + "-imx"
         pkgs = "".join(' %s' % i for i in p)
         d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1")