diff options
Diffstat (limited to 'recipes-containers/netavark/netavark.inc')
-rw-r--r-- | recipes-containers/netavark/netavark.inc | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/recipes-containers/netavark/netavark.inc b/recipes-containers/netavark/netavark.inc deleted file mode 100644 index c15bbea6..00000000 --- a/recipes-containers/netavark/netavark.inc +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | inherit ptest | ||
2 | |||
3 | PACKAGECONFIG ?= "aardvark-dns" | ||
4 | |||
5 | # From the documentation of netavark | ||
6 | # https://github.com/containers/netavark/blob/v1.1.0/DISTRO_PACKAGE.md#dependency-on-aardvark-dns | ||
7 | # The aardvark-dns will be installed by default with netavark, but | ||
8 | # netavark will be functional without it. | ||
9 | PACKAGECONFIG[aardvark-dns]= " , , , aardvark-dns" | ||
10 | |||
11 | # Rdepends on aardvark-dns which rdepends on slirp4netns | ||
12 | inherit features_check | ||
13 | REQUIRED_DISTRO_FEATURES ?= "seccomp" | ||
14 | |||
15 | SRC_URI += " \ | ||
16 | file://run-ptest \ | ||
17 | file://tests.patch \ | ||
18 | " | ||
19 | |||
20 | # Cargo installs the binary to bin so move it to where podman expects it | ||
21 | do_install:append() { | ||
22 | install -d ${D}${libexecdir}/podman/ | ||
23 | mv ${D}${bindir}/* ${D}${libexecdir}/podman/ | ||
24 | rm -rf ${D}${bindir}/ | ||
25 | } | ||
26 | |||
27 | |||
28 | do_install_ptest () { | ||
29 | cp -r ${S}/test ${D}${PTEST_PATH} | ||
30 | } | ||
31 | |||
32 | RDEPENDS:${PN}-ptest += " \ | ||
33 | bats \ | ||
34 | bash \ | ||
35 | coreutils \ | ||
36 | jq \ | ||
37 | iproute2 \ | ||
38 | dbus-daemon-proxy \ | ||
39 | util-linux-unshare \ | ||
40 | nmap \ | ||
41 | procps-ps \ | ||
42 | util-linux-nsenter \ | ||
43 | bind-utils \ | ||
44 | " | ||
45 | |||
46 | |||
47 | # bind-utils is used to install dig | ||
48 | # procps is necessary because the ps from busybox is | ||
49 | # not having the same behavior | ||