mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
c76b0dc40f
commit
a748f51ec4
|
@ -79,5 +79,11 @@ do_install() {
|
|||
|
||||
cp ${S}/src/import/runc ${D}/${bindir}/runc
|
||||
ln -sf runc ${D}/${bindir}/docker-runc
|
||||
|
||||
mkdir -p ${D}${datadir}/runc/
|
||||
install -m 0755 ${S}/src/import/script/check-config.sh ${D}${datadir}/runc/
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-check"
|
||||
FILES:${PN}-check += "${datadir}/runc/check-config.sh"
|
||||
RDEPENDS:${PN}-check += "bash"
|
||||
|
|
Loading…
Reference in New Issue
Block a user