blob: 8c7443986e9af6ba338d008c10709a7972add83a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
inherit ptest
SRC_URI += " \
file://run-ptest \
"
# Cargo installs the binary to bin so move it to where podman expects it
do_install:append() {
install -d ${D}${libexecdir}/podman/
mv ${D}${bindir}/* ${D}${libexecdir}/podman/
rm -rf ${D}${bindir}/
}
do_install_ptest () {
cp -r ${S}/test ${D}${PTEST_PATH}
}
# Rdepends on slirp4netns
inherit features_check
REQUIRED_DISTRO_FEATURES ?= "seccomp"
RDEPENDS:${PN}-ptest += " \
bats \
bash \
coreutils \
jq \
iproute2 \
slirp4netns \
dbus-daemon-proxy \
util-linux-unshare \
bind-utils \
ipcalc \
"
|