summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-08-15 23:16:36 -0700
committerKhem Raj <raj.khem@gmail.com>2024-08-15 23:20:05 -0700
commit797b3a8433cd47a2f17caa0b517bafe2a8ad8552 (patch)
tree26ffd2a144293c9b513fa80a5aa8294904bbd9c1 /meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb
parentbdae51c5841128ed3640f509e076b36411b8fe5b (diff)
downloadmeta-openembedded-797b3a8433cd47a2f17caa0b517bafe2a8ad8552.tar.gz
keepalived: Make build reproducible
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb')
-rw-r--r--meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb b/meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb
index 85f4a6aa59..c4d59d3caa 100644
--- a/meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb
+++ b/meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb
@@ -11,6 +11,7 @@ LICENSE = "GPL-2.0-only"
11LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 11LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
12 12
13SRC_URI = "http://www.keepalived.org/software/${BP}.tar.gz \ 13SRC_URI = "http://www.keepalived.org/software/${BP}.tar.gz \
14 file://0001-configure.ac-Do-not-emit-compiler-flags-into-object-.patch \
14 " 15 "
15SRC_URI[sha256sum] = "85882eb62974f395d4c631be990a41a839594a7e62fbfebcb5649a937a7a1bb6" 16SRC_URI[sha256sum] = "85882eb62974f395d4c631be990a41a839594a7e62fbfebcb5649a937a7a1bb6"
16UPSTREAM_CHECK_URI = "https://github.com/acassen/keepalived/releases" 17UPSTREAM_CHECK_URI = "https://github.com/acassen/keepalived/releases"
@@ -30,6 +31,10 @@ EXTRA_OEMAKE = "initdir=${sysconfdir}/init.d"
30 31
31export EXTRA_CFLAGS = "${CFLAGS}" 32export EXTRA_CFLAGS = "${CFLAGS}"
32 33
34do_configure:append() {
35 sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${B}/lib/config.h
36}
37
33do_install:append() { 38do_install:append() {
34 if [ -f ${D}${sysconfdir}/init.d/${BPN} ]; then 39 if [ -f ${D}${sysconfdir}/init.d/${BPN} ]; then
35 chmod 0755 ${D}${sysconfdir}/init.d/${BPN} 40 chmod 0755 ${D}${sysconfdir}/init.d/${BPN}