diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2p1.bb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2p1.bb b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2p1.bb index c86926813d..8d4be95cfe 100644 --- a/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2p1.bb +++ b/meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.2p1.bb | |||
| @@ -8,7 +8,8 @@ HOMEPAGE = "http://www.isc.org/" | |||
| 8 | LICENSE = "ISC" | 8 | LICENSE = "ISC" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;md5=004a4db50a1e20972e924a8618747c01" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;md5=004a4db50a1e20972e924a8618747c01" |
| 10 | 10 | ||
| 11 | DEPENDS = "openssl libcap zlib" | 11 | DEPENDS = "openssl libcap zlib chrpath-replacement-native" |
| 12 | EXTRANATIVEPATH += "chrpath-native" | ||
| 12 | 13 | ||
| 13 | SRC_URI = "https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz \ | 14 | SRC_URI = "https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz \ |
| 14 | https://ftp.isc.org/isc/bind9/9.11.32/bind-9.11.32.tar.gz;name=bind;unpack=0 \ | 15 | https://ftp.isc.org/isc/bind9/9.11.32/bind-9.11.32.tar.gz;name=bind;unpack=0 \ |
| @@ -62,8 +63,11 @@ do_compile:prepend() { | |||
| 62 | } | 63 | } |
| 63 | 64 | ||
| 64 | do_install:append () { | 65 | do_install:append () { |
| 65 | install -d ${D}${sysconfdir}/default | 66 | install -Dm 0644 ${WORKDIR}/default-relay ${D}${sysconfdir}/default/dhcp-relay |
| 66 | install -m 0644 ${WORKDIR}/default-relay ${D}${sysconfdir}/default/dhcp-relay | 67 | install -Dm 0755 ${B}/bind/bind-9.11.32/lib/isccfg/.libs/libisccfg.so.163 ${D}${libdir}/libisccfg.so.163 |
| 68 | install -Dm 0755 ${B}/bind/bind-9.11.32/lib/dns/.libs/libdns.so.1115 ${D}${libdir}/libdns.so.1115 | ||
| 69 | chrpath --delete ${D}${libdir}/libisccfg.so.163 | ||
| 70 | chrpath --delete ${D}${libdir}/libdns.so.1115 | ||
| 67 | 71 | ||
| 68 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 72 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 69 | install -d ${D}${systemd_unitdir}/system | 73 | install -d ${D}${systemd_unitdir}/system |
