On Thu, Oct 31 2024 at 11:45:59 PM +01:00:00, Martin Jansa <martin.jansa@gmail.com> wrote:
Not sure if this was worth it :).
An easy way to hack this might also be something like this ?
# Did this just for testing purpose
export nonarch_libdir = "/usr/lib32"
do_install:append() {
if [ ! "${libdir}" = "${nonarch_libdir}" ]; then mkdir ${D}${nonarch_libdir};mv ${D}${libdir}/snapper ${D}${nonarch_libdir}/snapper; fi
}
FILES:${PN} += "${nonarch_libdir}/snapper ${libdir}/pam_snapper ${systemd_system_unitdir} ${libdir}/security ${datadir}"
Since I'm not building multilib, I just did an export for nonarch_libdir to have a difference here for testing. Kind of seemed to work.
The 'mkdir' command is probably only needed in my testcase, because if building multilib the ${D}${nonarch_libdir} directory is presumably already present
Not pretty but eventually less maintainance than a patch