proj: Fix do_package QA issue for unshipped bash-completion files

Add bash-completion directory to FILES to resolve the installed-vs-shipped QA error.

Fix:

ERROR: proj-9.7.0-r0 do_package: QA Issue: proj: Files/directories were installed but not shipped in any package:
  /usr/share/bash-completion
  /usr/share/bash-completion/completions
  /usr/share/bash-completion/completions/projinfo
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
proj: 3 installed and not shipped files. [installed-vs-shipped]
ERROR: proj-9.7.0-r0 do_package: Fatal QA errors were found, failing task.

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1175d5c8c1)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
Alper Ak
2025-11-28 22:34:25 +03:00
committed by Anuj Mittal
parent 58b226bbde
commit 47ec9cd465

View File

@@ -12,7 +12,9 @@ inherit bash-completion cmake lib_package pkgconfig
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
FILES:${PN} += "${datadir}/proj"
FILES:${PN} += " \
${datadir}/proj \
${datadir}/bash-completion"
BBCLASSEXTEND = "native"