mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-31 01:10:08 +00:00
ufw: Fix build with usrmerge distro feature
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -38,6 +38,13 @@ RRECOMMENDS:${PN} = " \
|
|||||||
kernel-module-nf-recent \
|
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() {
|
do_install:append() {
|
||||||
install -d ${D}${systemd_unitdir}/system/
|
install -d ${D}${systemd_unitdir}/system/
|
||||||
install -m 0644 ${S}/doc/systemd.example ${D}${systemd_unitdir}/system/ufw.service
|
install -m 0644 ${S}/doc/systemd.example ${D}${systemd_unitdir}/system/ufw.service
|
||||||
|
|||||||
Reference in New Issue
Block a user