pcsc-lite: use nonarch_libdir for sysusers.d
PATCH 1/1 pcsc-lite: use nonarch_libdir for sysusers.d
From: Martin Jansa <[email protected]>
It uses pkg-config to query systemd's sysusersdir which is defined as:
sysusers_dir=${prefix}/lib/sysusers.d
sysusersdir=${sysusers_dir}
Fixes installed-vs-shipped in cases where libdir isn't 'lib':
ERROR: QA Issue: pcsc-lite: Files/directories were installed but not shipped in any package:
/usr/lib/sysusers.d
/usr/lib/sysusers.d/pcscd-sysusers.conf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
pcsc-lite: 2 installed and not shipped files. [installed-vs-shipped]
Signed-off-by Martin Jansa <[email protected]>
--- meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.5.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.5.1.bb +1 -1
@@ -41,7 +41,7 @@ FILES:${PN} = "${sbindir}/pcscd \ ${datadir}/polkit-1 \ ${systemd_system_unitdir}/pcscd.service \ ${systemd_system_unitdir}/pcscd.socket \ - ${libdir}/sysusers.d \ + ${nonarch_libdir}/sysusers.d \ ${exec_prefix}/sysusers.d \ ${sysconfdir}/default/pcscd" FILES:${PN}-lib = "${libdir}/libpcsclite*${SOLIBS}"