From 143072a10da64f90812e8ecb956bd9b2a45bca82 Mon Sep 17 00:00:00 2001 From: Luciano Dittgen Date: Wed, 29 Jul 2026 09:47:20 -0300 Subject: imx-gpu-viv: Create the packaged vulkan icd.d with install -d do_install:append created ${D}${datadir}/vulkan/icd.d with "mkdir -p", so the mode of a directory that ends up in the package came from the building user's umask rather than from the recipe. Use "install -d", which states 0755 explicitly. The "mkdir -p" in do_install:prepend is deliberately left alone. It creates a staging directory under ${S} so the icd manifest can be moved before packaging; nothing there reaches the image, so there is no mode to fix. oelint.task.nomkdir flags both calls identically, so that one remains reported. Resolves one of the two oelint.task.nomkdir findings. Validation: oelint-adv rescan of the recipe; only the ${S} finding remains. Confirmed in the packaged output of an i.MX 8M build: libvulkan-imx records "drwxr-xr-x ./usr/share/vulkan/icd.d" both before and after, so there is no buildhistory delta -- under the usual umask 022 both forms yield 0755. The change removes the dependency on the builder's umask rather than altering the current result. Signed-off-by: Luciano Dittgen --- recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-graphics') diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb index 5a6ba030a..37db9098a 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb @@ -18,7 +18,7 @@ do_install:prepend() { do_install:append() { if [ "${IS_MX8}" = "1" ]; then if [ ! -z "${PACKAGES_VULKAN}" ]; then - mkdir -p ${D}${datadir}/vulkan/icd.d + install -d ${D}${datadir}/vulkan/icd.d mv ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json ${D}${datadir}/vulkan/icd.d/verisilicon_icd.json fi fi -- cgit v1.2.3-54-g00ecf