| Message ID | 20251128193425.1104585-1-alperyasinak1@gmail.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [meta-oe] proj: Fix do_package QA issue for unshipped bash-completion files | expand |
diff --git a/meta-oe/recipes-navigation/proj/proj_9.7.0.bb b/meta-oe/recipes-navigation/proj/proj_9.7.0.bb index 2a41f1ec52..eb9fe46f30 100644 --- a/meta-oe/recipes-navigation/proj/proj_9.7.0.bb +++ b/meta-oe/recipes-navigation/proj/proj_9.7.0.bb @@ -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"
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> --- meta-oe/recipes-navigation/proj/proj_9.7.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)