mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
freerdp: Fix QA warning when no binaries are built
* without x11 or wayland enabled from DISTRO_FEATURES there is nothing in /usr/bin and this empty directory causes QA error Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -60,8 +60,12 @@ PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*"
|
|||||||
# we will need winpr-makecert to generate TLS certificates
|
# we will need winpr-makecert to generate TLS certificates
|
||||||
do_install_append () {
|
do_install_append () {
|
||||||
install -m755 winpr/tools/makecert/cli/winpr-makecert ${D}${bindir}
|
install -m755 winpr/tools/makecert/cli/winpr-makecert ${D}${bindir}
|
||||||
rm -rf ${D}/${libdir}/cmake
|
rm -rf ${D}${libdir}/cmake
|
||||||
rm -rf ${D}/${libdir}/freerdp
|
rm -rf ${D}${libdir}/freerdp
|
||||||
|
# without x11, wayland, directfb enabled this directory will be empty
|
||||||
|
# causing QA error: ERROR: freerdp-1.2.5+gitrAUTOINC+62da9d28c6-r0 do_package: QA Issue: freerdp: Files/directories were installed but not shipped in any package:
|
||||||
|
# /usr/bin
|
||||||
|
rmdir ${D}${bindir} --ignore-fail-on-non-empty
|
||||||
}
|
}
|
||||||
|
|
||||||
python populate_packages_prepend () {
|
python populate_packages_prepend () {
|
||||||
|
|||||||
Reference in New Issue
Block a user