mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
ufw: Fix build with usrmerge distro feature
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
d69c0da9d2
commit
a47c833126
@ -38,6 +38,13 @@ RRECOMMENDS:${PN} = " \
|
||||
kernel-module-nf-recent \
|
||||
"
|
||||
|
||||
|
||||
do_configure:prepend() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then
|
||||
sed -i -e 's|/lib|${nonarch_base_libdir}|' ${S}/setup.py
|
||||
fi
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${S}/doc/systemd.example ${D}${systemd_unitdir}/system/ufw.service
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user