snapper: use nonarch_libdir in FILES

This avoids an 'installed vs.shipped' issue for multilib

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk
2024-11-03 23:13:43 +01:00
committed by Khem Raj
parent 3822241d2b
commit 962e6c302f
@@ -30,12 +30,12 @@ export RMBIN = "${bindir}/rm"
export TOUCHBIN = "${bindir}/touch"
export CPBIN = "${bindir}/cp"
do_install:append() {
install -d ${D}${sysconfdir}/sysconfig
install -m0644 ${S}/data/default-config ${D}${sysconfdir}/sysconfig/snapper
}
FILES:${PN} += "${libdir}/pam_snapper ${libdir}/systemd ${libdir}/security ${datadir}"
FILES:${PN} += "${nonarch_libdir} ${systemd_system_unitdir} ${datadir}"
# bash is needed for the testsuite
RDEPENDS:${PN} = "bash diffutils util-linux util-linux-mount"