[meta-virtualization] [PATCH] lxc: add runtime depends for util-linux-getopt

Dengke Du dengke.du at windriver.com
Mon Aug 13 21:52:47 PDT 2018


When runing:

    lxc-create -t download -n test

The system reports that the getopt command can't find. This is because
the lxc-download template depends on getopt command. So add the runtime
depends on util-linux-getopt for lxc.

Signed-off-by: Dengke Du <dengke.du at windriver.com>
---
 recipes-containers/lxc/lxc_3.0.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-containers/lxc/lxc_3.0.1.bb b/recipes-containers/lxc/lxc_3.0.1.bb
index a77dd09..d4bfd92 100644
--- a/recipes-containers/lxc/lxc_3.0.1.bb
+++ b/recipes-containers/lxc/lxc_3.0.1.bb
@@ -25,6 +25,7 @@ RDEPENDS_${PN} = " \
 		gnutls \
 		nettle \
 		util-linux-mountpoint \
+		util-linux-getopt \
 "
 
 RDEPENDS_${PN}_append_libc-glibc = " glibc-utils"
-- 
2.7.4



More information about the meta-virtualization mailing list