Skip to content

Commit 317e64f

Browse files
committed
libcamera-apps: Fix library packaging issues for rpicam_app.so.1.4.2
Package rpicam_app.so.1.4.2 library for the default package to fix the following error. ERROR: libcamera-apps-1.4.2+git-r0 do_package: QA Issue: libcamera-apps: Files/directories were installed but not shipped in any package: /usr/lib/rpicam_app.so.1.4.2 Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. libcamera-apps: 1 installed and not shipped files. [installed-vs-shipped] ERROR: libcamera-apps-1.4.2+git-r0 do_package: Fatal QA errors were found, failing task. ERROR: Logfile of failure stored in: /home/build-2/tmp/work/cortexa53-poky-linux/libcamera-apps/1.4.2+git/temp/log.do_package.1110484 ERROR: Task (/home/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps_git.bb:do_package) failed with exit code '1' The following version expansion is used to make it compatible with future package version changes. ${@d.getVar("PV", False).__str__().split('+')[0]}" Fixes: #1440 Signed-off-by: Bhargav Das <bhargavdas100@gmail.com>
1 parent cd558f7 commit 317e64f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dynamic-layers/multimedia-layer/recipes-multimedia/libcamera-apps/libcamera-apps_git.bb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ do_install:append() {
4242

4343
# not picked automatically, because it's missing common 'lib' prefix
4444
FILES:${PN}-dev += "${libdir}/rpicam_app.so"
45+
46+
FILES:${PN} += "${libdir}/rpicam_app.so.${@d.getVar("PV", False).__str__().split('+')[0]}"

0 commit comments

Comments
 (0)