diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-29 09:47:20 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-08-03 16:13:00 -0300 |
| commit | 143072a10da64f90812e8ecb956bd9b2a45bca82 (patch) | |
| tree | 4dc0333bef7cac14cdba372327ee75a487e6215b /recipes-graphics | |
| parent | 5475591d0e1e3ec8e7c1f40e440d01fb1a448f6f (diff) | |
| download | meta-freescale-143072a10da64f90812e8ecb956bd9b2a45bca82.tar.gz | |
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 <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
| -rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.11.p4.4-aarch64.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
| 18 | do_install:append() { | 18 | do_install:append() { |
| 19 | if [ "${IS_MX8}" = "1" ]; then | 19 | if [ "${IS_MX8}" = "1" ]; then |
| 20 | if [ ! -z "${PACKAGES_VULKAN}" ]; then | 20 | if [ ! -z "${PACKAGES_VULKAN}" ]; then |
| 21 | mkdir -p ${D}${datadir}/vulkan/icd.d | 21 | install -d ${D}${datadir}/vulkan/icd.d |
| 22 | mv ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json ${D}${datadir}/vulkan/icd.d/verisilicon_icd.json | 22 | mv ${D}${sysconfdir}/vulkan/icd.d/imx_icd.json ${D}${datadir}/vulkan/icd.d/verisilicon_icd.json |
| 23 | fi | 23 | fi |
| 24 | fi | 24 | fi |
