diff options
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb b/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb index 70216a85e3..6dca784bf4 100644 --- a/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb +++ b/meta-networking/recipes-connectivity/ufw/ufw_0.36.1.bb | |||
| @@ -38,6 +38,13 @@ RRECOMMENDS:${PN} = " \ | |||
| 38 | kernel-module-nf-recent \ | 38 | kernel-module-nf-recent \ |
| 39 | " | 39 | " |
| 40 | 40 | ||
| 41 | |||
| 42 | do_configure:prepend() { | ||
| 43 | if ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then | ||
| 44 | sed -i -e 's|/lib|${nonarch_base_libdir}|' ${S}/setup.py | ||
| 45 | fi | ||
| 46 | } | ||
| 47 | |||
| 41 | do_install:append() { | 48 | do_install:append() { |
| 42 | install -d ${D}${systemd_unitdir}/system/ | 49 | install -d ${D}${systemd_unitdir}/system/ |
| 43 | install -m 0644 ${S}/doc/systemd.example ${D}${systemd_unitdir}/system/ufw.service | 50 | install -m 0644 ${S}/doc/systemd.example ${D}${systemd_unitdir}/system/ufw.service |
