From f3454647898cfda69231e31aec1b8b4b684d801b Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 19 Nov 2015 23:33:55 -0800 Subject: lldpad: fix installed-vs-shipped Fixed when multilib: lldpad-0.9.46: lldpad: Files/directories were installed but not shipped in any package: /usr/lib Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. lldpad: 1 installed and not shipped files. [installed-vs-shipped] This is because /usr/lib/systemd has been moved, but /usr/lib was left in multilib, use "rmdir -p" to fix the problem. Signed-off-by: Robert Yang --- meta-networking/recipes-daemons/lldpad/lldpad_0.9.46.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-daemons/lldpad/lldpad_0.9.46.bb b/meta-networking/recipes-daemons/lldpad/lldpad_0.9.46.bb index b191df59e3..b66344f08c 100644 --- a/meta-networking/recipes-daemons/lldpad/lldpad_0.9.46.bb +++ b/meta-networking/recipes-daemons/lldpad/lldpad_0.9.46.bb @@ -23,7 +23,7 @@ do_configure_prepend() { do_install_append () { install -m 0755 -d ${D}${systemd_unitdir} mv ${D}${prefix}${systemd_unitdir}/* ${D}${systemd_unitdir}/ - rmdir ${D}${prefix}${systemd_unitdir} + rmdir -p --ignore-fail-on-non-empty ${D}${prefix}${systemd_unitdir} } FILES_${PN} += "${systemd_unitdir}" -- cgit 1.2.3-korg