plasma-mobile: fix qa issue

Rebuilt from scratch and got this error:

ERROR: plasma-mobile-6.2.4-r0 do_package: QA Issue: plasma-mobile: Files/directories were installed but not shipped in any package:
  /usr/share/plasma/layout-templates
  /usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel
  /usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar
  /usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel/metadata.json
  /usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel/contents
  /usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel/contents/layout.js
  /usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar/metadata.json
  /usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar/contents
  /usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar/contents/layout.js
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
plasma-mobile: 9 installed and not shipped files. [installed-vs-shipped]
ERROR: plasma-mobile-6.2.4-r0 do_package: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/temp/log.do_package.748258
ERROR: Task (/home/marc/dev/yocto/meta-kde/recipes-plasma/plasma-mobile_6.2.4.bb:do_package) failed with exit code '1'

Add the directory to FILES to fix the issue.

Signed-off-by: Marc Ferland <marc.ferland@gmail.com>
This commit is contained in:
Marc Ferland
2024-12-15 10:58:20 -05:00
parent 4960ad55fa
commit 3f64a22233

View File

@@ -42,6 +42,7 @@ FILES:${PN} += " \
${datadir}/kpackage/kcms/kcm_mobileshell/* \
${datadir}/kwin/effects/* \
${datadir}/kwin/scripts/* \
${datadir}/plasma/layout-templates \
${datadir}/plasma/look-and-feel/* \
${datadir}/plasma/mobileinitialstart \
${datadir}/plasma/plasmoids/* \