Skip to contentSkip to conversation

tigervnc: fix do_package error when enabling user merge

PATCH New Chen Qi 1 participant 1 message Apr 29, 2021

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 tigervnc: fix do_package error when enabling user merge

When enabling user merge, we get the following error:

ERROR: QA Issue: tigervnc: Files/directories were installed but not shipped in any package:
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/[email protected]

---
 meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb +1 -1
index ce6c59bc3..c45fc028f 100644
@@ -83,7 +83,7 @@ EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
         --disable-xwayland \
 "
 
-EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=/lib/systemd/system', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}"
+EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}"
 
 do_configure_append () {
     olddir=`pwd`
Signature · 1 line
2.30.2