[meta-virtualization] [PATCH] docker: install script config-check.sh
Bruce Ashfield
bruce.ashfield at gmail.com
Mon Oct 31 07:19:41 PDT 2016
On Mon, Oct 31, 2016 at 10:03 AM, Stefan Lengfeld <s.lengfeld at phytec.de>
wrote:
> The script /usr/share/docker/config-check.sh is very useful to test all
> kernel requirements for docker. A lot of embedded boards will use a
> custom kernel config that does not have all kernel features enabled by
> default. Install the script so kernel developer can easily enable the
> missing features.
>
> Signed-off-by: Stefan Lengfeld <s.lengfeld at phytec.de>
> ---
> recipes-containers/docker/docker_git.bb | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/recipes-containers/docker/docker_git.bb
> b/recipes-containers/docker/docker_git.bb
> index 4be5e47..39852ad 100644
> --- a/recipes-containers/docker/docker_git.bb
> +++ b/recipes-containers/docker/docker_git.bb
> @@ -126,6 +126,7 @@ do_install() {
>
> mkdir -p ${D}/usr/share/docker/
> cp ${WORKDIR}/hi.Dockerfile ${D}/usr/share/docker/
> + install -m 0755 ${S}/contrib/check-config.sh ${D}/usr/share/docker/
>
This depends on bash, which isn't currently in the RDEPENDS. Which is why I
had
never bothered to add it.
I'd prefer this be packaged into a docker-utils, or docker-contrib, where
we can add
the RDEPENDS and let folks decide whether they want it installed (or not)
at the
package level.
Cheers,
Bruce
> }
>
> inherit useradd
> --
> 1.9.1
>
> --
> _______________________________________________
> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20161031/77ef6bf9/attachment.html>
More information about the meta-virtualization
mailing list