diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-09-30 18:35:59 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-10-03 01:28:52 +0000 |
commit | a748f51ec462f6054fb499d144d3bc0ca944bc12 (patch) | |
tree | c8f01652d4b2473fcde4ef71f516def1d917d8eb | |
parent | c76b0dc40f115ee57494ed3bbcc2cb02395a4341 (diff) | |
download | meta-virtualization-a748f51ec462f6054fb499d144d3bc0ca944bc12.tar.gz |
runc: package configuration test script
Like docker, there is runc / OCI check-config.sh script that
is useful when determining if your kernel is properly
configured.
We can package it in a -check package, and install it to
a similar location as the docker variant.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-containers/runc/runc.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc index c8e74273..a7c0f618 100644 --- a/recipes-containers/runc/runc.inc +++ b/recipes-containers/runc/runc.inc | |||
@@ -79,5 +79,11 @@ do_install() { | |||
79 | 79 | ||
80 | cp ${S}/src/import/runc ${D}/${bindir}/runc | 80 | cp ${S}/src/import/runc ${D}/${bindir}/runc |
81 | ln -sf runc ${D}/${bindir}/docker-runc | 81 | ln -sf runc ${D}/${bindir}/docker-runc |
82 | |||
83 | mkdir -p ${D}${datadir}/runc/ | ||
84 | install -m 0755 ${S}/src/import/script/check-config.sh ${D}${datadir}/runc/ | ||
82 | } | 85 | } |
83 | 86 | ||
87 | PACKAGES =+ "${PN}-check" | ||
88 | FILES:${PN}-check += "${datadir}/runc/check-config.sh" | ||
89 | RDEPENDS:${PN}-check += "bash" | ||