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

Bruce Ashfield bruce.ashfield at gmail.com
Tue Aug 14 09:55:52 PDT 2018


merged

Bruce

On Tue, Aug 14, 2018 at 12:52 AM, Dengke Du <dengke.du at windriver.com> wrote:
> 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
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list