diff options
| -rw-r--r-- | meta-networking/recipes-daemons/keepalived/keepalived_2.3.2.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/keepalived/keepalived_2.3.2.bb b/meta-networking/recipes-daemons/keepalived/keepalived_2.3.2.bb index c0a2e57bfb..6fb4886b96 100644 --- a/meta-networking/recipes-daemons/keepalived/keepalived_2.3.2.bb +++ b/meta-networking/recipes-daemons/keepalived/keepalived_2.3.2.bb | |||
| @@ -21,10 +21,11 @@ DEPENDS = "libnfnetlink openssl" | |||
| 21 | 21 | ||
| 22 | inherit autotools pkgconfig systemd | 22 | inherit autotools pkgconfig systemd |
| 23 | 23 | ||
| 24 | PACKAGECONFIG ??= "libnl snmp \ | 24 | PACKAGECONFIG ??= "libnl snmp reproducible \ |
| 25 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | 25 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 26 | " | 26 | " |
| 27 | PACKAGECONFIG[libnl] = "--enable-libnl,--disable-libnl,libnl" | 27 | PACKAGECONFIG[libnl] = "--enable-libnl,--disable-libnl,libnl" |
| 28 | PACKAGECONFIG[reproducible] = "--enable-reproducible-build,," | ||
| 28 | PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp" | 29 | PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp" |
| 29 | PACKAGECONFIG[systemd] = "--with-init=systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--with-init=SYSV,systemd" | 30 | PACKAGECONFIG[systemd] = "--with-init=systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--with-init=SYSV,systemd" |
| 30 | 31 | ||
| @@ -45,6 +46,9 @@ do_install:append() { | |||
| 45 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 46 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 46 | install -D -m 0644 ${B}/${BPN}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service | 47 | install -D -m 0644 ${B}/${BPN}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service |
| 47 | fi | 48 | fi |
| 49 | if [ -n "${@bb.utils.filter('PACKAGECONFIG', 'reproducible', d)}" ]; then | ||
| 50 | sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${sysconfdir}/keepalived/keepalived.config-opts | ||
| 51 | fi | ||
| 48 | } | 52 | } |
| 49 | 53 | ||
| 50 | PACKAGE_BEFORE_PN = "${PN}-samples" | 54 | PACKAGE_BEFORE_PN = "${PN}-samples" |
