From 9a06629463ebe8217a30011f9e94127a324d895c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 22 May 2023 21:24:42 -0700 Subject: unbound: Remove references to buildpaths Signed-off-by: Khem Raj --- meta-networking/recipes-support/unbound/unbound_1.17.1.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-networking') diff --git a/meta-networking/recipes-support/unbound/unbound_1.17.1.bb b/meta-networking/recipes-support/unbound/unbound_1.17.1.bb index 24ac6012b5..9855a557a4 100644 --- a/meta-networking/recipes-support/unbound/unbound_1.17.1.bb +++ b/meta-networking/recipes-support/unbound/unbound_1.17.1.bb @@ -29,6 +29,10 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" PACKAGECONFIG[dnscrypt] = "--enable-dnscrypt, --disable-dnscrypt, libsodium" PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" +do_configure:append() { + sed -i -e 's#${RECIPE_SYSROOT}##g' ${B}/config.h +} + do_install:append() { install -d ${D}${systemd_unitdir}/system install -m 0644 ${B}/contrib/unbound.service ${D}${systemd_unitdir}/system -- cgit v1.2.3-54-g00ecf