Skip to contentSkip to conversation

lxc: add back the rdepends on glibc-utils

PATCH In review [email protected] 2 participants 2 messages Nov 27, 2017 – Dec 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lxc: add back the rdepends on glibc-utils

From: Jackie Huang <[email protected]>

The rdepends on glibc-utils was removed without reason in the following commit:
"""
e73608d56e498a7075e7a3e5550aafd76987d7aa
lxc: 2.0.0 -> 2.0.8
"""

And it causes failure:
/usr/libexec/lxc/lxc-net: line 125: getent: command not found

So add the dependency back.

---
 recipes-containers/lxc/lxc_2.0.8.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-containers/lxc/lxc_2.0.8.bb +3 -0
index 93d5a10..c9ce5f0 100644
@@ -22,6 +22,9 @@ RDEPENDS_${PN} = " \
 		gnutls \
 		nettle \
 "
+
+RDEPENDS_${PN}_append_libc-glibc = " glibc-utils"
+
 RDEPENDS_${PN}-ptest += "file make gmp nettle gnutls bash"
 
 SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \
Signature · 1 line
2.11.0
#1 lore raw

merged.

Bruce

Quoted 43 lines · On Mon, Nov 27, 2017 at 3:10 AM, <[email protected]> wrote:

From: Jackie Huang <[email protected]>

The rdepends on glibc-utils was removed without reason in the following commit:
"""
e73608d56e498a7075e7a3e5550aafd76987d7aa
lxc: 2.0.0 -> 2.0.8
"""

And it causes failure:
/usr/libexec/lxc/lxc-net: line 125: getent: command not found

So add the dependency back.

---
 recipes-containers/lxc/lxc_2.0.8.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-containers/lxc/ renamed from recipes-containers/lxc/lxc_2.0.8.bb +0 -0

lxc_2.0.8.bb
index 93d5a10..c9ce5f0 100644

recipes-containers/lxc/lxc_2.0.8.bb +3 -1
@@ -22,6 +22,9 @@ RDEPENDS_${PN} = " \
                gnutls \
                nettle \
 "
+
+RDEPENDS_${PN}_append_libc-glibc = " glibc-utils"
+
 RDEPENDS_${PN}-ptest += "file make gmp nettle gnutls bash"
 
 SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \
--

2.11.0

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"