diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-02-11 10:33:56 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-02-11 10:35:40 -0800 |
| commit | c633c22ad5e0fc85c90ed9805ef86ea9383a4fed (patch) | |
| tree | 5c5dad8f3ce50b21b6cd4191a11aa17a71b3ab6b /meta-networking | |
| parent | a9d994c2fd1311e7e5e970cc57d462c8f5734857 (diff) | |
| download | meta-openembedded-c633c22ad5e0fc85c90ed9805ef86ea9383a4fed.tar.gz | |
dhcp-relay: Package needed shared libs from bind
Fixes
ERROR: QA Issue: /usr/sbin/dhcrelay contained in package dhcp-relay requires libisccfg.so.163, but no providers found in RDEPENDS:dhcp-relay? [file-rdeps]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
| -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 |
