summaryrefslogtreecommitdiffstats
path: root/recipes-containers
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-07-28 14:22:43 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-08-02 17:17:53 -0400
commitd876cfc5bfafa516dee55d04b50b319a22165640 (patch)
treeea03c34f999bd85e440c85fc8e722df8666e2e68 /recipes-containers
parent5fdf66c1e2ec0c6b08573bf0a6aa9f84d2fc4ae6 (diff)
downloadmeta-virtualization-d876cfc5bfafa516dee55d04b50b319a22165640.tar.gz
global: overrides syntax conversion
OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers')
-rw-r--r--recipes-containers/cgroup-lite/cgroup-lite_1.15.bb4
-rw-r--r--recipes-containers/containerd/containerd-opencontainers_git.bb12
-rw-r--r--recipes-containers/cri-o/cri-o_git.bb22
-rw-r--r--recipes-containers/cri-tools/cri-tools_git.bb8
-rw-r--r--recipes-containers/criu/criu_git.bb20
-rw-r--r--recipes-containers/crun/crun_git.bb2
-rw-r--r--recipes-containers/docker-compose/python3-docker-compose_1.29.2.bb2
-rw-r--r--recipes-containers/docker-distribution/docker-distribution_git.bb16
-rw-r--r--recipes-containers/docker/docker.inc38
-rw-r--r--recipes-containers/go-digest/go-digest_git.bb4
-rw-r--r--recipes-containers/go-errors/go-errors_git.bb4
-rw-r--r--recipes-containers/go-spf13-cobra/spf13-cobra_git.bb4
-rw-r--r--recipes-containers/go-spf13-pflag/spf13-pflag_git.bb4
-rw-r--r--recipes-containers/k3s/k3s_git.bb22
-rw-r--r--recipes-containers/kubernetes/kubernetes_git.bb26
-rw-r--r--recipes-containers/lxc/lxc_4.0.9.bb52
-rw-r--r--recipes-containers/lxcfs/lxcfs_4.0.7.bb6
-rw-r--r--recipes-containers/oci-image-spec/oci-image-spec_git.bb2
-rw-r--r--recipes-containers/oci-image-tools/oci-image-tools_git.bb2
-rw-r--r--recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb2
-rw-r--r--recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb2
-rw-r--r--recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb2
-rw-r--r--recipes-containers/podman-compose/podman-compose_0.1.5.bb2
-rw-r--r--recipes-containers/podman/podman_git.bb10
-rw-r--r--recipes-containers/riddler/riddler_git.bb2
-rw-r--r--recipes-containers/runc/runc.inc2
-rw-r--r--recipes-containers/singularity/singularity_git.bb6
-rw-r--r--recipes-containers/skopeo/skopeo_git.bb8
-rw-r--r--recipes-containers/tini/tini_0.19.0.bb4
-rw-r--r--recipes-containers/umoci/umoci_git.bb8
30 files changed, 149 insertions, 149 deletions
diff --git a/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb b/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb
index 45cc287c..8bed040a 100644
--- a/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb
+++ b/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb
@@ -17,8 +17,8 @@ INITSCRIPT_PARAMS = "start 8 2 3 4 5 . stop 20 0 1 6 ."
17# Keeps the sysvinit scripts out of the image if building 17# Keeps the sysvinit scripts out of the image if building
18# where systemd is in use. 18# where systemd is in use.
19SYSTEMD_PACKAGES = "${PN}" 19SYSTEMD_PACKAGES = "${PN}"
20SYSTEMD_SERVICE_${PN} = "cgroups-init.service" 20SYSTEMD_SERVICE:${PN} = "cgroups-init.service"
21SYSTEMD_AUTO_ENABLE_${PN} = "mask" 21SYSTEMD_AUTO_ENABLE:${PN} = "mask"
22 22
23 23
24do_install() { 24do_install() {
diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd-opencontainers_git.bb
index d10e2aaa..55881fab 100644
--- a/recipes-containers/containerd/containerd-opencontainers_git.bb
+++ b/recipes-containers/containerd/containerd-opencontainers_git.bb
@@ -20,7 +20,7 @@ CONTAINERD_VERSION = "v1.5.4"
20EXTRA_OEMAKE += "GODEBUG=1" 20EXTRA_OEMAKE += "GODEBUG=1"
21 21
22PROVIDES += "virtual/containerd" 22PROVIDES += "virtual/containerd"
23RPROVIDES_${PN} = "virtual/containerd" 23RPROVIDES:${PN} = "virtual/containerd"
24 24
25S = "${WORKDIR}/git" 25S = "${WORKDIR}/git"
26 26
@@ -33,7 +33,7 @@ GO_IMPORT = "import"
33 33
34CONTAINERD_PKG="github.com/containerd/containerd" 34CONTAINERD_PKG="github.com/containerd/containerd"
35 35
36INSANE_SKIP_${PN} += "ldflags" 36INSANE_SKIP:${PN} += "ldflags"
37 37
38do_configure[noexec] = "1" 38do_configure[noexec] = "1"
39 39
@@ -91,7 +91,7 @@ do_compile() {
91 91
92inherit systemd 92inherit systemd
93SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" 93SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}"
94SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','containerd.service','',d)}" 94SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','containerd.service','',d)}"
95 95
96do_install() { 96do_install() {
97 mkdir -p ${D}/${bindir} 97 mkdir -p ${D}/${bindir}
@@ -116,12 +116,12 @@ do_install() {
116 fi 116 fi
117} 117}
118 118
119FILES_${PN} += "${systemd_system_unitdir}/*" 119FILES:${PN} += "${systemd_system_unitdir}/*"
120 120
121INSANE_SKIP_${PN} += "ldflags already-stripped" 121INSANE_SKIP:${PN} += "ldflags already-stripped"
122 122
123COMPATIBLE_HOST = "^(?!(qemu)?mips).*" 123COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
124 124
125RDEPENDS_${BPN} += " virtual/runc" 125RDEPENDS:${BPN} += " virtual/runc"
126 126
127CVE_PRODUCT = "containerd" 127CVE_PRODUCT = "containerd"
diff --git a/recipes-containers/cri-o/cri-o_git.bb b/recipes-containers/cri-o/cri-o_git.bb
index 5adef226..5a20c744 100644
--- a/recipes-containers/cri-o/cri-o_git.bb
+++ b/recipes-containers/cri-o/cri-o_git.bb
@@ -41,7 +41,7 @@ DEPENDS = " \
41 libseccomp \ 41 libseccomp \
42 libselinux \ 42 libselinux \
43 " 43 "
44RDEPENDS_${PN} = " \ 44RDEPENDS:${PN} = " \
45 cni \ 45 cni \
46 libdevmapper \ 46 libdevmapper \
47 " 47 "
@@ -50,8 +50,8 @@ PNBLACKLIST[cri-o] ?= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'security', bb
50 50
51PACKAGES =+ "${PN}-config" 51PACKAGES =+ "${PN}-config"
52 52
53RDEPENDS_${PN} += " virtual/containerd virtual/runc" 53RDEPENDS:${PN} += " virtual/containerd virtual/runc"
54RDEPENDS_${PN} += " e2fsprogs-mke2fs conmon util-linux iptables conntrack-tools" 54RDEPENDS:${PN} += " e2fsprogs-mke2fs conmon util-linux iptables conntrack-tools"
55 55
56inherit systemd 56inherit systemd
57inherit go 57inherit go
@@ -70,8 +70,8 @@ do_compile() {
70} 70}
71 71
72SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" 72SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}"
73SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','crio.service','',d)}" 73SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','crio.service','',d)}"
74SYSTEMD_AUTO_ENABLE_${PN} = "enable" 74SYSTEMD_AUTO_ENABLE:${PN} = "enable"
75 75
76do_install() { 76do_install() {
77 set +e 77 set +e
@@ -98,15 +98,15 @@ do_install() {
98 install -m 0644 ${S}/src/import/contrib/systemd/crio-wipe.service ${D}${systemd_unitdir}/system/ 98 install -m 0644 ${S}/src/import/contrib/systemd/crio-wipe.service ${D}${systemd_unitdir}/system/
99} 99}
100 100
101FILES_${PN}-config = "${sysconfdir}/crio/config/*" 101FILES:${PN}-config = "${sysconfdir}/crio/config/*"
102FILES_${PN} += "${systemd_unitdir}/system/*" 102FILES:${PN} += "${systemd_unitdir}/system/*"
103FILES_${PN} += "/usr/local/bin/*" 103FILES:${PN} += "/usr/local/bin/*"
104FILES_${PN} += "/usr/share/containers/oci/hooks.d" 104FILES:${PN} += "/usr/share/containers/oci/hooks.d"
105 105
106# don't clobber hooks.d 106# don't clobber hooks.d
107ALLOW_EMPTY_${PN} = "1" 107ALLOW_EMPTY:${PN} = "1"
108 108
109INSANE_SKIP_${PN} += "ldflags already-stripped" 109INSANE_SKIP:${PN} += "ldflags already-stripped"
110 110
111deltask compile_ptest_base 111deltask compile_ptest_base
112 112
diff --git a/recipes-containers/cri-tools/cri-tools_git.bb b/recipes-containers/cri-tools/cri-tools_git.bb
index f87ca19d..06d1b439 100644
--- a/recipes-containers/cri-tools/cri-tools_git.bb
+++ b/recipes-containers/cri-tools/cri-tools_git.bb
@@ -29,7 +29,7 @@ GO_IMPORT = "import"
29 29
30PV = "1.21.0+git${SRCREV_cri-tools}" 30PV = "1.21.0+git${SRCREV_cri-tools}"
31 31
32RPROVIDES_${PN} += "crictl" 32RPROVIDES:${PN} += "crictl"
33PACKAGES =+ "${PN}-critest" 33PACKAGES =+ "${PN}-critest"
34 34
35inherit go 35inherit go
@@ -66,12 +66,12 @@ do_install() {
66 install -m 755 -D ${S}/src/import/build/bin/* ${D}/${bindir} 66 install -m 755 -D ${S}/src/import/build/bin/* ${D}/${bindir}
67} 67}
68 68
69FILES_${PN}-critest = "${bindir}/critest" 69FILES:${PN}-critest = "${bindir}/critest"
70 70
71# don't clobber hooks.d 71# don't clobber hooks.d
72ALLOW_EMPTY_${PN} = "1" 72ALLOW_EMPTY:${PN} = "1"
73 73
74INSANE_SKIP_${PN} += "ldflags already-stripped textrel" 74INSANE_SKIP:${PN} += "ldflags already-stripped textrel"
75 75
76deltask compile_ptest_base 76deltask compile_ptest_base
77 77
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb
index febf81ed..045a4318 100644
--- a/recipes-containers/criu/criu_git.bb
+++ b/recipes-containers/criu/criu_git.bb
@@ -25,7 +25,7 @@ SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=criu-dev \
25COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" 25COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux"
26 26
27DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet" 27DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet"
28RDEPENDS_${PN} = "bash" 28RDEPENDS:${PN} = "bash"
29 29
30S = "${WORKDIR}/git" 30S = "${WORKDIR}/git"
31 31
@@ -34,17 +34,17 @@ S = "${WORKDIR}/git"
34# if the ARCH is ARMv7 or ARMv6. 34# if the ARCH is ARMv7 or ARMv6.
35# ARM BSPs need set CRIU_BUILD_ARCH variable for building CRIU. 35# ARM BSPs need set CRIU_BUILD_ARCH variable for building CRIU.
36# 36#
37EXTRA_OEMAKE_arm += "ARCH=arm UNAME-M=${CRIU_BUILD_ARCH} WERROR=0" 37EXTRA_OEMAKE:arm += "ARCH=arm UNAME-M=${CRIU_BUILD_ARCH} WERROR=0"
38EXTRA_OEMAKE_x86-64 += "ARCH=x86 WERROR=0" 38EXTRA_OEMAKE:x86-64 += "ARCH=x86 WERROR=0"
39EXTRA_OEMAKE_aarch64 += "ARCH=aarch64 WERROR=0" 39EXTRA_OEMAKE:aarch64 += "ARCH=aarch64 WERROR=0"
40 40
41EXTRA_OEMAKE_append += "SBINDIR=${sbindir} LIBDIR=${libdir} INCLUDEDIR=${includedir} PIEGEN=no" 41EXTRA_OEMAKE:append += "SBINDIR=${sbindir} LIBDIR=${libdir} INCLUDEDIR=${includedir} PIEGEN=no"
42EXTRA_OEMAKE_append += "LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unitdir}" 42EXTRA_OEMAKE:append += "LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unitdir}"
43 43
44CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " 44CFLAGS += "-D__USE_GNU -D_GNU_SOURCE "
45 45
46CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" 46CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3"
47CFLAGS_arm += "-D__WORDSIZE" 47CFLAGS:arm += "-D__WORDSIZE"
48 48
49# overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'" 49# overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'"
50export LDFLAGS="" 50export LDFLAGS=""
@@ -63,7 +63,7 @@ PACKAGECONFIG[selinux] = ",,libselinux"
63 63
64CLEANBROKEN = "1" 64CLEANBROKEN = "1"
65 65
66do_compile_prepend() { 66do_compile:prepend() {
67 rm -rf ${S}/images/google/protobuf/descriptor.proto 67 rm -rf ${S}/images/google/protobuf/descriptor.proto
68 ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto 68 ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto
69} 69}
@@ -83,13 +83,13 @@ do_install () {
83 sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%g' ${D}/usr/bin/crit 83 sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%g' ${D}/usr/bin/crit
84} 84}
85 85
86FILES_${PN} += "${systemd_unitdir}/ \ 86FILES:${PN} += "${systemd_unitdir}/ \
87 ${libdir}/python3*/site-packages/ \ 87 ${libdir}/python3*/site-packages/ \
88 ${libdir}/pycriu/ \ 88 ${libdir}/pycriu/ \
89 ${libdir}/crit-0.0.1-py3*.egg-info \ 89 ${libdir}/crit-0.0.1-py3*.egg-info \
90 " 90 "
91 91
92FILES_${PN}-staticdev += " \ 92FILES:${PN}-staticdev += " \
93 ${libexecdir}/compel/std.lib.a \ 93 ${libexecdir}/compel/std.lib.a \
94 ${libexecdir}/compel/fds.lib.a \ 94 ${libexecdir}/compel/fds.lib.a \
95 " 95 "
diff --git a/recipes-containers/crun/crun_git.bb b/recipes-containers/crun/crun_git.bb
index b2efb093..116e326e 100644
--- a/recipes-containers/crun/crun_git.bb
+++ b/recipes-containers/crun/crun_git.bb
@@ -33,7 +33,7 @@ DEPENDS += "libseccomp"
33DEPENDS += "systemd" 33DEPENDS += "systemd"
34DEPENDS += "oci-image-spec oci-runtime-spec" 34DEPENDS += "oci-image-spec oci-runtime-spec"
35 35
36do_configure_prepend () { 36do_configure:prepend () {
37 ./autogen.sh 37 ./autogen.sh
38} 38}
39 39
diff --git a/recipes-containers/docker-compose/python3-docker-compose_1.29.2.bb b/recipes-containers/docker-compose/python3-docker-compose_1.29.2.bb
index 22b7150a..3755071c 100644
--- a/recipes-containers/docker-compose/python3-docker-compose_1.29.2.bb
+++ b/recipes-containers/docker-compose/python3-docker-compose_1.29.2.bb
@@ -14,7 +14,7 @@ SRC_URI += "file://0001-setup.py-remove-maximum-version-requirements.patch \
14 14
15DEPENDS += "${PYTHON_PN}-fastentrypoints-native" 15DEPENDS += "${PYTHON_PN}-fastentrypoints-native"
16 16
17RDEPENDS_${PN} = "\ 17RDEPENDS:${PN} = "\
18 ${PYTHON_PN}-cached-property \ 18 ${PYTHON_PN}-cached-property \
19 ${PYTHON_PN}-certifi \ 19 ${PYTHON_PN}-certifi \
20 ${PYTHON_PN}-chardet \ 20 ${PYTHON_PN}-chardet \
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb
index a83452e0..48d1c93a 100644
--- a/recipes-containers/docker-distribution/docker-distribution_git.bb
+++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
@@ -58,16 +58,16 @@ do_install() {
58 install -d ${D}/${localstatedir}/lib/registry/ 58 install -d ${D}/${localstatedir}/lib/registry/
59} 59}
60 60
61INSANE_SKIP_${PN} += "ldflags already-stripped" 61INSANE_SKIP:${PN} += "ldflags already-stripped"
62INSANE_SKIP_${MLPREFIX}docker-registry += "ldflags already-stripped textrel" 62INSANE_SKIP:${MLPREFIX}docker-registry += "ldflags already-stripped textrel"
63 63
64FILES_docker-registry = "${sbindir}/*" 64FILES:docker-registry = "${sbindir}/*"
65FILES_docker-registry += "${systemd_unitdir}/system/docker-registry.service" 65FILES:docker-registry += "${systemd_unitdir}/system/docker-registry.service"
66FILES_docker-registry += "${sysconfdir}/docker-distribution/*" 66FILES:docker-registry += "${sysconfdir}/docker-distribution/*"
67FILES_docker-registry += "${localstatedir}/lib/registry/" 67FILES:docker-registry += "${localstatedir}/lib/registry/"
68 68
69SYSTEMD_SERVICE_docker-registry = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker-registry.service','',d)}" 69SYSTEMD_SERVICE:docker-registry = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker-registry.service','',d)}"
70SYSTEMD_AUTO_ENABLE_docker-registry = "enable" 70SYSTEMD_AUTO_ENABLE:docker-registry = "enable"
71 71
72RDEPENDS_${PN}-ptest_remove = "${PN}" 72RDEPENDS_${PN}-ptest_remove = "${PN}"
73 73
diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc
index 610da568..d22aae1e 100644
--- a/recipes-containers/docker/docker.inc
+++ b/recipes-containers/docker/docker.inc
@@ -20,25 +20,25 @@ DEPENDS = " \
20 libtool \ 20 libtool \
21 " 21 "
22 22
23DEPENDS_append_class-target = " lvm2" 23DEPENDS:append:class-target = " lvm2"
24RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \ 24RDEPENDS:${PN} = "util-linux util-linux-unshare iptables \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'aufs', 'aufs-util', '', d)} \ 25 ${@bb.utils.contains('DISTRO_FEATURES', 'aufs', 'aufs-util', '', d)} \
26 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'cgroup-lite', d)} \ 26 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'cgroup-lite', d)} \
27 bridge-utils \ 27 bridge-utils \
28 ca-certificates \ 28 ca-certificates \
29 " 29 "
30RDEPENDS_${PN} += "virtual/containerd virtual/runc" 30RDEPENDS:${PN} += "virtual/containerd virtual/runc"
31 31
32RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade" 32RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade"
33 33
34PROVIDES += "virtual/docker" 34PROVIDES += "virtual/docker"
35 35
36# we want all the docker variant recpes to be installable via "docker" 36# we want all the docker variant recpes to be installable via "docker"
37PACKAGE_NAME = "docker" 37PACKAGE_NAME = "docker"
38RPROVIDES_${PN} += "docker" 38RPROVIDES:${PN} += "docker"
39RPROVIDES_${PN}-dbg += "docker-dbg" 39RPROVIDES:${PN}-dbg += "docker-dbg"
40RPROVIDES_${PN}-dev += "docker-dev" 40RPROVIDES:${PN}-dev += "docker-dev"
41RPROVIDES_${PN}-contrip += "docker-dev" 41RPROVIDES:${PN}-contrip += "docker-dev"
42 42
43inherit pkgconfig 43inherit pkgconfig
44PACKAGECONFIG ??= "docker-init" 44PACKAGECONFIG ??= "docker-init"
@@ -139,26 +139,26 @@ do_install() {
139 139
140 140
141SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" 141SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}"
142SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.socket','',d)}" 142SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.socket','',d)}"
143SYSTEMD_AUTO_ENABLE_${PN} = "enable" 143SYSTEMD_AUTO_ENABLE:${PN} = "enable"
144 144
145INITSCRIPT_PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','${PN}','',d)}" 145INITSCRIPT_PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','${PN}','',d)}"
146INITSCRIPT_NAME_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','docker.init','',d)}" 146INITSCRIPT_NAME:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','docker.init','',d)}"
147INITSCRIPT_PARAMS_${PN} = "defaults" 147INITSCRIPT_PARAMS:${PN} = "defaults"
148 148
149inherit useradd 149inherit useradd
150USERADD_PACKAGES = "${PN}" 150USERADD_PACKAGES = "${PN}"
151GROUPADD_PARAM_${PN} = "-r docker" 151GROUPADD_PARAM:${PN} = "-r docker"
152 152
153COMPATIBLE_HOST = "^(?!(qemu)?mips).*" 153COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
154 154
155INSANE_SKIP_${PN} += "ldflags textrel" 155INSANE_SKIP:${PN} += "ldflags textrel"
156 156
157FILES_${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker" 157FILES:${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker"
158 158
159PACKAGES =+ "${PN}-contrib" 159PACKAGES =+ "${PN}-contrib"
160FILES_${PN}-contrib += "${datadir}/docker/check-config.sh" 160FILES:${PN}-contrib += "${datadir}/docker/check-config.sh"
161RDEPENDS_${PN}-contrib += "bash" 161RDEPENDS:${PN}-contrib += "bash"
162 162
163# By the docker-packaging repository and https://docs.docker.com/engine/install/centos/#installation-methods 163# By the docker-packaging repository and https://docs.docker.com/engine/install/centos/#installation-methods
164# docker is packaged by most distros with a split between the engine and the CLI. 164# docker is packaged by most distros with a split between the engine and the CLI.
@@ -171,9 +171,9 @@ RDEPENDS_${PN}-contrib += "bash"
171# set the DOCKER_UNIFIED_PACKAGE variable to False 171# set the DOCKER_UNIFIED_PACKAGE variable to False
172# 172#
173PACKAGES =+ "${PN}-cli" 173PACKAGES =+ "${PN}-cli"
174FILES_${PN}-cli += "${bindir}/docker" 174FILES:${PN}-cli += "${bindir}/docker"
175 175
176# set to "False" if packages should be generated for the cli and engine, and 176# set to "False" if packages should be generated for the cli and engine, and
177# NOT rdepend to get a classic one-package install 177# NOT rdepend to get a classic one-package install
178DOCKER_UNIFIED_PACKAGE ?= "True" 178DOCKER_UNIFIED_PACKAGE ?= "True"
179RDEPENDS_${PN} += "${@bb.utils.contains("DOCKER_UNIFIED_PACKAGE", "True", "${PN}-cli", "", d)}" 179RDEPENDS:${PN} += "${@bb.utils.contains("DOCKER_UNIFIED_PACKAGE", "True", "${PN}-cli", "", d)}"
diff --git a/recipes-containers/go-digest/go-digest_git.bb b/recipes-containers/go-digest/go-digest_git.bb
index a2f8cd69..9a69d8f7 100644
--- a/recipes-containers/go-digest/go-digest_git.bb
+++ b/recipes-containers/go-digest/go-digest_git.bb
@@ -36,6 +36,6 @@ go_digest_file_sysroot_preprocess () {
36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) 36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
37} 37}
38 38
39FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" 39FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
40 40
41CLEANBROKEN = "1" \ No newline at end of file 41CLEANBROKEN = "1"
diff --git a/recipes-containers/go-errors/go-errors_git.bb b/recipes-containers/go-errors/go-errors_git.bb
index 3bb74a7c..0cac16c3 100644
--- a/recipes-containers/go-errors/go-errors_git.bb
+++ b/recipes-containers/go-errors/go-errors_git.bb
@@ -36,6 +36,6 @@ go_errors_file_sysroot_preprocess () {
36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) 36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
37} 37}
38 38
39FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" 39FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
40 40
41CLEANBROKEN = "1" \ No newline at end of file 41CLEANBROKEN = "1"
diff --git a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb
index e942e4e3..8cd84ed4 100644
--- a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb
+++ b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb
@@ -36,6 +36,6 @@ cobra_file_sysroot_preprocess () {
36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) 36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
37} 37}
38 38
39FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" 39FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
40 40
41CLEANBROKEN = "1" \ No newline at end of file 41CLEANBROKEN = "1"
diff --git a/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb b/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb
index 2fbcb439..df0db0c9 100644
--- a/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb
+++ b/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb
@@ -36,6 +36,6 @@ pflag_file_sysroot_preprocess () {
36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) 36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
37} 37}
38 38
39FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" 39FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
40 40
41CLEANBROKEN = "1" \ No newline at end of file 41CLEANBROKEN = "1"
diff --git a/recipes-containers/k3s/k3s_git.bb b/recipes-containers/k3s/k3s_git.bb
index c0a393e7..d0c56f60 100644
--- a/recipes-containers/k3s/k3s_git.bb
+++ b/recipes-containers/k3s/k3s_git.bb
@@ -72,18 +72,18 @@ do_install() {
72PACKAGES =+ "${PN}-server ${PN}-agent" 72PACKAGES =+ "${PN}-server ${PN}-agent"
73 73
74SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}-server ${PN}-agent','',d)}" 74SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}-server ${PN}-agent','',d)}"
75SYSTEMD_SERVICE_${PN}-server = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s.service','',d)}" 75SYSTEMD_SERVICE:${PN}-server = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s.service','',d)}"
76SYSTEMD_SERVICE_${PN}-agent = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s-agent.service','',d)}" 76SYSTEMD_SERVICE:${PN}-agent = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s-agent.service','',d)}"
77SYSTEMD_AUTO_ENABLE_${PN}-agent = "disable" 77SYSTEMD_AUTO_ENABLE:${PN}-agent = "disable"
78 78
79FILES_${PN}-agent = "${BIN_PREFIX}/bin/k3s-agent" 79FILES:${PN}-agent = "${BIN_PREFIX}/bin/k3s-agent"
80FILES_${PN} += "${BIN_PREFIX}/bin/*" 80FILES:${PN} += "${BIN_PREFIX}/bin/*"
81 81
82RDEPENDS_${PN} = "k3s-cni conntrack-tools coreutils findutils iptables iproute2 ipset virtual/containerd" 82RDEPENDS:${PN} = "k3s-cni conntrack-tools coreutils findutils iptables iproute2 ipset virtual/containerd"
83RDEPENDS_${PN}-server = "${PN}" 83RDEPENDS:${PN}-server = "${PN}"
84RDEPENDS_${PN}-agent = "${PN}" 84RDEPENDS:${PN}-agent = "${PN}"
85 85
86RRECOMMENDS_${PN} = "\ 86RRECOMMENDS:${PN} = "\
87 kernel-module-xt-addrtype \ 87 kernel-module-xt-addrtype \
88 kernel-module-xt-nat \ 88 kernel-module-xt-nat \
89 kernel-module-xt-multiport \ 89 kernel-module-xt-multiport \
@@ -95,7 +95,7 @@ RRECOMMENDS_${PN} = "\
95 kernel-module-xt-masquerade \ 95 kernel-module-xt-masquerade \
96 " 96 "
97 97
98RCONFLICTS_${PN} = "kubectl" 98RCONFLICTS:${PN} = "kubectl"
99 99
100INHIBIT_PACKAGE_STRIP = "1" 100INHIBIT_PACKAGE_STRIP = "1"
101INSANE_SKIP_${PN} += "ldflags already-stripped" 101INSANE_SKIP:${PN} += "ldflags already-stripped"
diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb
index 6a8fd088..c2889096 100644
--- a/recipes-containers/kubernetes/kubernetes_git.bb
+++ b/recipes-containers/kubernetes/kubernetes_git.bb
@@ -87,30 +87,30 @@ do_install() {
87 87
88PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc" 88PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc"
89 89
90ALLOW_EMPTY_${PN} = "1" 90ALLOW_EMPTY:${PN} = "1"
91INSANE_SKIP_${PN} += "ldflags already-stripped" 91INSANE_SKIP:${PN} += "ldflags already-stripped"
92INSANE_SKIP_${PN}-misc += "ldflags already-stripped" 92INSANE_SKIP:${PN}-misc += "ldflags already-stripped"
93 93
94# Note: we are explicitly *not* adding docker to the rdepends, since we allow 94# Note: we are explicitly *not* adding docker to the rdepends, since we allow
95# backends like cri-o to be used. 95# backends like cri-o to be used.
96RDEPENDS_${PN} += "kubeadm \ 96RDEPENDS:${PN} += "kubeadm \
97 kubectl \ 97 kubectl \
98 kubelet \ 98 kubelet \
99 cni" 99 cni"
100 100
101RDEPENDS_kubeadm = "kubelet kubectl" 101RDEPENDS:kubeadm = "kubelet kubectl"
102FILES_kubeadm = "${bindir}/kubeadm ${systemd_unitdir}/system/kubelet.service.d/*" 102FILES:kubeadm = "${bindir}/kubeadm ${systemd_unitdir}/system/kubelet.service.d/*"
103 103
104RDEPENDS_kubelet = "iptables socat util-linux ethtool iproute2 ebtables iproute2-tc" 104RDEPENDS:kubelet = "iptables socat util-linux ethtool iproute2 ebtables iproute2-tc"
105FILES_kubelet = "${bindir}/kubelet ${systemd_unitdir}/system/kubelet.service ${sysconfdir}/kubernetes/manifests/" 105FILES:kubelet = "${bindir}/kubelet ${systemd_unitdir}/system/kubelet.service ${sysconfdir}/kubernetes/manifests/"
106 106
107SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet','',d)}" 107SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet','',d)}"
108SYSTEMD_SERVICE_kubelet = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet.service','',d)}" 108SYSTEMD_SERVICE:kubelet = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet.service','',d)}"
109SYSTEMD_AUTO_ENABLE_kubelet = "enable" 109SYSTEMD_AUTO_ENABLE:kubelet = "enable"
110 110
111FILES_kubectl = "${bindir}/kubectl" 111FILES:kubectl = "${bindir}/kubectl"
112FILES_kube-proxy = "${bindir}/kube-proxy" 112FILES:kube-proxy = "${bindir}/kube-proxy"
113FILES_${PN}-misc = "${bindir}" 113FILES:${PN}-misc = "${bindir}"
114 114
115 115
116deltask compile_ptest_base 116deltask compile_ptest_base
diff --git a/recipes-containers/lxc/lxc_4.0.9.bb b/recipes-containers/lxc/lxc_4.0.9.bb
index 79072915..0ef81a5a 100644
--- a/recipes-containers/lxc/lxc_4.0.9.bb
+++ b/recipes-containers/lxc/lxc_4.0.9.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c
6" 6"
7 7
8DEPENDS = "libxml2 libcap" 8DEPENDS = "libxml2 libcap"
9RDEPENDS_${PN} = " \ 9RDEPENDS:${PN} = " \
10 rsync \ 10 rsync \
11 curl \ 11 curl \
12 gzip \ 12 gzip \
@@ -30,11 +30,11 @@ RDEPENDS_${PN} = " \
30 util-linux-getopt \ 30 util-linux-getopt \
31" 31"
32 32
33RDEPENDS_${PN}_append_libc-glibc = " glibc-utils" 33RDEPENDS:${PN}:append:libc-glibc = " glibc-utils"
34 34
35RDEPENDS_${PN}-ptest += "file make gmp nettle gnutls bash libgcc" 35RDEPENDS:${PN}-ptest += "file make gmp nettle gnutls bash libgcc"
36 36
37RDEPENDS_${PN}-networking += "iptables" 37RDEPENDS:${PN}-networking += "iptables"
38 38
39SRC_URI = "http://linuxcontainers.org/downloads/${BPN}/${BPN}-${PV}.tar.gz \ 39SRC_URI = "http://linuxcontainers.org/downloads/${BPN}/${BPN}-${PV}.tar.gz \
40 file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \ 40 file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \
@@ -90,31 +90,31 @@ export STAGING_LIBDIR
90inherit autotools pkgconfig ptest update-rc.d systemd python3native 90inherit autotools pkgconfig ptest update-rc.d systemd python3native
91 91
92SYSTEMD_PACKAGES = "${PN} ${PN}-networking" 92SYSTEMD_PACKAGES = "${PN} ${PN}-networking"
93SYSTEMD_SERVICE_${PN} = "lxc.service" 93SYSTEMD_SERVICE:${PN} = "lxc.service"
94SYSTEMD_AUTO_ENABLE_${PN} = "disable" 94SYSTEMD_AUTO_ENABLE:${PN} = "disable"
95SYSTEMD_SERVICE_${PN}-networking = "lxc-net.service" 95SYSTEMD_SERVICE:${PN}-networking = "lxc-net.service"
96SYSTEMD_AUTO_ENABLE_${PN}-networking = "enable" 96SYSTEMD_AUTO_ENABLE:${PN}-networking = "enable"
97 97
98INITSCRIPT_PACKAGES = "${PN} ${PN}-networking" 98INITSCRIPT_PACKAGES = "${PN} ${PN}-networking"
99INITSCRIPT_NAME_${PN} = "lxc-containers" 99INITSCRIPT_NAME:${PN} = "lxc-containers"
100INITSCRIPT_PARAMS_${PN} = "defaults" 100INITSCRIPT_PARAMS:${PN} = "defaults"
101INITSCRIPT_NAME_${PN}-networking = "lxc-net" 101INITSCRIPT_NAME:${PN}-networking = "lxc-net"
102INITSCRIPT_PARAMS_${PN}-networking = "defaults" 102INITSCRIPT_PARAMS:${PN}-networking = "defaults"
103 103
104FILES_${PN}-doc = "${mandir} ${infodir}" 104FILES:${PN}-doc = "${mandir} ${infodir}"
105# For LXC the docdir only contains example configuration files and should be included in the lxc package 105# For LXC the docdir only contains example configuration files and should be included in the lxc package
106FILES_${PN} += "${docdir}" 106FILES:${PN} += "${docdir}"
107FILES_${PN} += "${libdir}/python3*" 107FILES:${PN} += "${libdir}/python3*"
108FILES_${PN} += "${datadir}/bash-completion" 108FILES:${PN} += "${datadir}/bash-completion"
109FILES_${PN}-dbg += "${libexecdir}/lxc/.debug" 109FILES:${PN}-dbg += "${libexecdir}/lxc/.debug"
110FILES_${PN}-dbg += "${libexecdir}/lxc/hooks/.debug" 110FILES:${PN}-dbg += "${libexecdir}/lxc/hooks/.debug"
111PACKAGES =+ "${PN}-templates ${PN}-networking ${PN}-lua" 111PACKAGES =+ "${PN}-templates ${PN}-networking ${PN}-lua"
112FILES_lua-${PN} = "${datadir}/lua ${libdir}/lua" 112FILES:lua-${PN} = "${datadir}/lua ${libdir}/lua"
113FILES_lua-${PN}-dbg += "${libdir}/lua/lxc/.debug" 113FILES:lua-${PN}-dbg += "${libdir}/lua/lxc/.debug"
114FILES_${PN}-templates += "${datadir}/lxc/templates" 114FILES:${PN}-templates += "${datadir}/lxc/templates"
115RDEPENDS_${PN}-templates += "bash" 115RDEPENDS:${PN}-templates += "bash"
116 116
117FILES_${PN}-networking += " \ 117FILES:${PN}-networking += " \
118 ${sysconfdir}/init.d/lxc-net \ 118 ${sysconfdir}/init.d/lxc-net \
119 ${sysconfdir}/default/lxc-net \ 119 ${sysconfdir}/default/lxc-net \
120" 120"
@@ -125,7 +125,7 @@ CACHED_CONFIGUREVARS += " \
125 am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ 125 am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \
126" 126"
127 127
128do_install_append() { 128do_install:append() {
129 # The /var/cache/lxc directory created by the Makefile 129 # The /var/cache/lxc directory created by the Makefile
130 # is wiped out in volatile, we need to create this at boot. 130 # is wiped out in volatile, we need to create this at boot.
131 rm -rf ${D}${localstatedir}/cache 131 rm -rf ${D}${localstatedir}/cache
@@ -165,13 +165,13 @@ do_install_ptest() {
165 mv ${D}/usr/bin/lxc-test-* ${D}/${PTEST_PATH}/tests/. 165 mv ${D}/usr/bin/lxc-test-* ${D}/${PTEST_PATH}/tests/.
166} 166}
167 167
168pkg_postinst_${PN}() { 168pkg_postinst:${PN}() {
169 if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then 169 if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
170 /etc/init.d/populate-volatile.sh update 170 /etc/init.d/populate-volatile.sh update
171 fi 171 fi
172} 172}
173 173
174pkg_postinst_${PN}-networking() { 174pkg_postinst:${PN}-networking() {
175if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 175if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
176cat >> $D/etc/network/interfaces << EOF 176cat >> $D/etc/network/interfaces << EOF
177 177
diff --git a/recipes-containers/lxcfs/lxcfs_4.0.7.bb b/recipes-containers/lxcfs/lxcfs_4.0.7.bb
index 11d2ff51..ea7132dc 100644
--- a/recipes-containers/lxcfs/lxcfs_4.0.7.bb
+++ b/recipes-containers/lxcfs/lxcfs_4.0.7.bb
@@ -14,12 +14,12 @@ SRC_URI[md5sum] = "9d963976207fb0ca4701428ae0587aeb"
14SRC_URI[sha256sum] = "3f28e2f4b04c0090aaf88b72666505f0313768a5254dd48a14c43cf78c543ec8" 14SRC_URI[sha256sum] = "3f28e2f4b04c0090aaf88b72666505f0313768a5254dd48a14c43cf78c543ec8"
15 15
16DEPENDS += "fuse" 16DEPENDS += "fuse"
17RDEPENDS_${PN} += "fuse" 17RDEPENDS:${PN} += "fuse"
18 18
19FILES_${PN} += "${datadir}/lxc/config/common.conf.d/*" 19FILES:${PN} += "${datadir}/lxc/config/common.conf.d/*"
20 20
21CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN='false // No help2man //'" 21CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN='false // No help2man //'"
22EXTRA_OECONF += "--with-distro=unknown --with-init-script=${VIRTUAL-RUNTIME_init_manager}" 22EXTRA_OECONF += "--with-distro=unknown --with-init-script=${VIRTUAL-RUNTIME_init_manager}"
23 23
24SYSTEMD_PACKAGES = "${PN}" 24SYSTEMD_PACKAGES = "${PN}"
25SYSTEMD_SERVICE_${PN} = "lxcfs.service" 25SYSTEMD_SERVICE:${PN} = "lxcfs.service"
diff --git a/recipes-containers/oci-image-spec/oci-image-spec_git.bb b/recipes-containers/oci-image-spec/oci-image-spec_git.bb
index 58057408..570288c5 100644
--- a/recipes-containers/oci-image-spec/oci-image-spec_git.bb
+++ b/recipes-containers/oci-image-spec/oci-image-spec_git.bb
@@ -36,6 +36,6 @@ image_spec_file_sysroot_preprocess () {
36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) 36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
37} 37}
38 38
39FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" 39FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
40 40
41CLEANBROKEN = "1" 41CLEANBROKEN = "1"
diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
index 799262cb..96d8de6e 100644
--- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
+++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
@@ -62,4 +62,4 @@ do_install() {
62 install ${S}/src/import/oci-image-tool ${D}/${sbindir}/ 62 install ${S}/src/import/oci-image-tool ${D}/${sbindir}/
63} 63}
64 64
65INSANE_SKIP_${PN} += "ldflags textrel" 65INSANE_SKIP:${PN} += "ldflags textrel"
diff --git a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb
index c4083c09..e66c75c3 100644
--- a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb
+++ b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb
@@ -36,6 +36,6 @@ runtime_spec_file_sysroot_preprocess () {
36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) 36 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
37} 37}
38 38
39FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" 39FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"
40 40
41CLEANBROKEN = "1" 41CLEANBROKEN = "1"
diff --git a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
index 7f194027..6c1358c1 100644
--- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
+++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
@@ -12,7 +12,7 @@ SRCREV = "6e7da8148f4de2c9e9c9d3b345576898d4f412cb"
12PV = "0.1.0+git${SRCPV}" 12PV = "0.1.0+git${SRCPV}"
13GO_IMPORT = "import" 13GO_IMPORT = "import"
14 14
15INSANE_SKIP_${PN} += "ldflags textrel" 15INSANE_SKIP:${PN} += "ldflags textrel"
16 16
17inherit goarch 17inherit goarch
18inherit go 18inherit go
diff --git a/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb b/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb
index 6734bffe..6838b541 100644
--- a/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb
+++ b/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb
@@ -32,5 +32,5 @@ do_install() {
32 oe_runmake 'DESTDIR=${D}' install-exec-am 32 oe_runmake 'DESTDIR=${D}' install-exec-am
33} 33}
34 34
35FILES_${PN} += "${libexecdir}/oci/hooks.d/" 35FILES:${PN} += "${libexecdir}/oci/hooks.d/"
36 36
diff --git a/recipes-containers/podman-compose/podman-compose_0.1.5.bb b/recipes-containers/podman-compose/podman-compose_0.1.5.bb
index 1b91a92c..b7a29482 100644
--- a/recipes-containers/podman-compose/podman-compose_0.1.5.bb
+++ b/recipes-containers/podman-compose/podman-compose_0.1.5.bb
@@ -12,4 +12,4 @@ S = "${WORKDIR}/git"
12 12
13DEPENDS += "${PYTHON_PN}-pyyaml-native" 13DEPENDS += "${PYTHON_PN}-pyyaml-native"
14 14
15RDEPENDS_${PN} += "${PYTHON_PN}-pyyaml" 15RDEPENDS:${PN} += "${PYTHON_PN}-pyyaml"
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 7ca0703d..fd4edd91 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -100,15 +100,15 @@ do_install() {
100 fi 100 fi
101} 101}
102 102
103FILES_${PN} += " \ 103FILES:${PN} += " \
104 ${systemd_unitdir}/system/* \ 104 ${systemd_unitdir}/system/* \
105 ${systemd_unitdir}/user/* \ 105 ${systemd_unitdir}/user/* \
106 ${nonarch_libdir}/tmpfiles.d/* \ 106 ${nonarch_libdir}/tmpfiles.d/* \
107 ${sysconfdir}/cni \ 107 ${sysconfdir}/cni \
108" 108"
109 109
110SYSTEMD_SERVICE_${PN} = "podman.service podman.socket" 110SYSTEMD_SERVICE:${PN} = "podman.service podman.socket"
111 111
112RDEPENDS_${PN} += "conmon virtual/runc iptables cni skopeo" 112RDEPENDS:${PN} += "conmon virtual/runc iptables cni skopeo"
113RRECOMMENDS_${PN} += "slirp4netns kernel-module-xt-masquerade kernel-module-xt-comment" 113RRECOMMENDS:${PN} += "slirp4netns kernel-module-xt-masquerade kernel-module-xt-comment"
114RCONFLICTS_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}" 114RCONFLICTS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}"
diff --git a/recipes-containers/riddler/riddler_git.bb b/recipes-containers/riddler/riddler_git.bb
index 1bdf786a..5ba041a0 100644
--- a/recipes-containers/riddler/riddler_git.bb
+++ b/recipes-containers/riddler/riddler_git.bb
@@ -18,7 +18,7 @@ inherit go
18 18
19# In addition to hosts go does not like, we do not build for mips. 19# In addition to hosts go does not like, we do not build for mips.
20# 20#
21COMPATIBLE_HOST_mipsarch = "null" 21COMPATIBLE_HOST:mipsarch = "null"
22 22
23# This disables seccomp and apparmor, which are on by default in the 23# This disables seccomp and apparmor, which are on by default in the
24# go package. 24# go package.
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc
index eb8aa022..486ee176 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -26,7 +26,7 @@ PACKAGECONFIG ??= "static \
26 26
27 27
28PROVIDES += "virtual/runc" 28PROVIDES += "virtual/runc"
29RPROVIDES_${PN} = "virtual/runc" 29RPROVIDES:${PN} = "virtual/runc"
30 30
31GO_IMPORT = "import" 31GO_IMPORT = "import"
32 32
diff --git a/recipes-containers/singularity/singularity_git.bb b/recipes-containers/singularity/singularity_git.bb
index 103270dd..bfa36288 100644
--- a/recipes-containers/singularity/singularity_git.bb
+++ b/recipes-containers/singularity/singularity_git.bb
@@ -1,8 +1,8 @@
1# Skip QA check for library symbolic links (core issue is a packaging problem within 1# Skip QA check for library symbolic links (core issue is a packaging problem within
2# Singularity build / config: read up on the dev-so test for more info) 2# Singularity build / config: read up on the dev-so test for more info)
3INSANE_SKIP_${PN} += "dev-so" 3INSANE_SKIP:${PN} += "dev-so"
4 4
5RDEPENDS_${PN} += "glibc python3 ca-certificates openssl bash e2fsprogs-mke2fs" 5RDEPENDS:${PN} += "glibc python3 ca-certificates openssl bash e2fsprogs-mke2fs"
6 6
7LICENSE = "BSD" 7LICENSE = "BSD"
8LIC_FILES_CHKSUM = "file://COPYRIGHT.md;md5=be78c34e483dd7d8439358b1e024b294 \ 8LIC_FILES_CHKSUM = "file://COPYRIGHT.md;md5=be78c34e483dd7d8439358b1e024b294 \
@@ -21,7 +21,7 @@ S = "${WORKDIR}/git"
21inherit python3native autotools-brokensep 21inherit python3native autotools-brokensep
22EXTRA_OECONF = "--prefix=/usr/local" 22EXTRA_OECONF = "--prefix=/usr/local"
23 23
24pkg_postinst_${PN}() { 24pkg_postinst:${PN}() {
25 # python3 expects CA certificates to be installed in a different place to where 25 # python3 expects CA certificates to be installed in a different place to where
26 # they are actually installed. These lines link the two locations. 26 # they are actually installed. These lines link the two locations.
27 rm -r $D${libdir}/ssl/certs 27 rm -r $D${libdir}/ssl/certs
diff --git a/recipes-containers/skopeo/skopeo_git.bb b/recipes-containers/skopeo/skopeo_git.bb
index b86215db..7d2a9c13 100644
--- a/recipes-containers/skopeo/skopeo_git.bb
+++ b/recipes-containers/skopeo/skopeo_git.bb
@@ -14,7 +14,7 @@ DEPENDS = " \
14 14
15inherit go 15inherit go
16 16
17RDEPENDS_${PN} = " \ 17RDEPENDS:${PN} = " \
18 gpgme \ 18 gpgme \
19 libgpg-error \ 19 libgpg-error \
20 libassuan \ 20 libassuan \
@@ -81,7 +81,7 @@ do_install() {
81 install ${WORKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf 81 install ${WORKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf
82} 82}
83 83
84do_install_append_class-native() { 84do_install:append:class-native() {
85 create_cmdline_wrapper ${D}/${sbindir}/skopeo \ 85 create_cmdline_wrapper ${D}/${sbindir}/skopeo \
86 --policy ${sysconfdir}/containers/policy.json 86 --policy ${sysconfdir}/containers/policy.json
87 87
@@ -89,11 +89,11 @@ do_install_append_class-native() {
89 LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} 89 LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE}
90} 90}
91 91
92do_install_append_class-nativesdk() { 92do_install:append:class-nativesdk() {
93 create_cmdline_wrapper ${D}/${sbindir}/skopeo \ 93 create_cmdline_wrapper ${D}/${sbindir}/skopeo \
94 --policy ${sysconfdir}/containers/policy.json 94 --policy ${sysconfdir}/containers/policy.json
95} 95}
96 96
97INSANE_SKIP_${PN} += "ldflags" 97INSANE_SKIP:${PN} += "ldflags"
98 98
99BBCLASSEXTEND = "native nativesdk" 99BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-containers/tini/tini_0.19.0.bb b/recipes-containers/tini/tini_0.19.0.bb
index 62e285df..35a97bd1 100644
--- a/recipes-containers/tini/tini_0.19.0.bb
+++ b/recipes-containers/tini/tini_0.19.0.bb
@@ -18,7 +18,7 @@ S = "${WORKDIR}/git"
18BBCLASSEXTEND = "native" 18BBCLASSEXTEND = "native"
19 19
20# tini links with -static, so no PIE for us 20# tini links with -static, so no PIE for us
21SECURITY_CFLAGS_pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}" 21SECURITY_CFLAGS:pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}"
22 22
23inherit cmake 23inherit cmake
24 24
@@ -29,4 +29,4 @@ do_install() {
29 29
30# Tini is the currently the provider for docker-init 30# Tini is the currently the provider for docker-init
31PROVIDES += "docker-init" 31PROVIDES += "docker-init"
32RPROVIDES_${PN} = "docker-init" 32RPROVIDES:${PN} = "docker-init"
diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git.bb
index f83a35a7..69325d15 100644
--- a/recipes-containers/umoci/umoci_git.bb
+++ b/recipes-containers/umoci/umoci_git.bb
@@ -3,8 +3,8 @@ SUMMARY = "umoci modifies Open Container images"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" 4LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
5 5
6RDEPENDS_${PN} = "skopeo" 6RDEPENDS:${PN} = "skopeo"
7RDEPENDS_${PN}_class-native = "" 7RDEPENDS:${PN}:class-native = ""
8 8
9SRCREV_umoci = "758044fc26ad65eb900143e90d1e22c2d6e4484d" 9SRCREV_umoci = "758044fc26ad65eb900143e90d1e22c2d6e4484d"
10SRC_URI = "git://github.com/opencontainers/umoci.git;branch=master;name=umoci;destsuffix=github.com/opencontainers/umoci \ 10SRC_URI = "git://github.com/opencontainers/umoci.git;branch=master;name=umoci;destsuffix=github.com/opencontainers/umoci \
@@ -22,7 +22,7 @@ inherit go
22EXTRA_OEMAKE="BUILDTAGS=''" 22EXTRA_OEMAKE="BUILDTAGS=''"
23 23
24 24
25do_compile_class-native () { 25do_compile:class-native () {
26 export GOARCH="${BUILD_GOARCH}" 26 export GOARCH="${BUILD_GOARCH}"
27 27
28 # Pass the needed cflags/ldflags so that cgo can find the needed headers files and libraries 28 # Pass the needed cflags/ldflags so that cgo can find the needed headers files and libraries
@@ -76,5 +76,5 @@ do_install() {
76 install ${S}/umoci ${D}/${sbindir} 76 install ${S}/umoci ${D}/${sbindir}
77} 77}
78 78
79INSANE_SKIP_${PN} += "ldflags already-stripped" 79INSANE_SKIP:${PN} += "ldflags already-stripped"
80BBCLASSEXTEND = "native nativesdk" 80BBCLASSEXTEND = "native nativesdk"