On Thu, Oct 31 2024 at 11:45:59 PM +01:00:00, Martin Jansa <[email protected]> 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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113379): 
https://lists.openembedded.org/g/openembedded-devel/message/113379
Mute This Topic: https://lists.openembedded.org/mt/109116183/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to