[meta-virtualization] [PATCH] lxc: add back the rdepends on glibc-utils

jackie.huang at windriver.com jackie.huang at windriver.com
Mon Nov 27 00:10:04 PST 2017


From: Jackie Huang <jackie.huang at windriver.com>

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.

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
 recipes-containers/lxc/lxc_2.0.8.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-containers/lxc/lxc_2.0.8.bb b/recipes-containers/lxc/lxc_2.0.8.bb
index 93d5a10..c9ce5f0 100644
--- a/recipes-containers/lxc/lxc_2.0.8.bb
+++ b/recipes-containers/lxc/lxc_2.0.8.bb
@@ -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



More information about the meta-virtualization mailing list