diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-28 14:22:43 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-08-02 17:17:53 -0400 |
commit | d876cfc5bfafa516dee55d04b50b319a22165640 (patch) | |
tree | ea03c34f999bd85e440c85fc8e722df8666e2e68 /recipes-containers | |
parent | 5fdf66c1e2ec0c6b08573bf0a6aa9f84d2fc4ae6 (diff) | |
download | meta-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')
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. |
19 | SYSTEMD_PACKAGES = "${PN}" | 19 | SYSTEMD_PACKAGES = "${PN}" |
20 | SYSTEMD_SERVICE_${PN} = "cgroups-init.service" | 20 | SYSTEMD_SERVICE:${PN} = "cgroups-init.service" |
21 | SYSTEMD_AUTO_ENABLE_${PN} = "mask" | 21 | SYSTEMD_AUTO_ENABLE:${PN} = "mask" |
22 | 22 | ||
23 | 23 | ||
24 | do_install() { | 24 | do_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" | |||
20 | EXTRA_OEMAKE += "GODEBUG=1" | 20 | EXTRA_OEMAKE += "GODEBUG=1" |
21 | 21 | ||
22 | PROVIDES += "virtual/containerd" | 22 | PROVIDES += "virtual/containerd" |
23 | RPROVIDES_${PN} = "virtual/containerd" | 23 | RPROVIDES:${PN} = "virtual/containerd" |
24 | 24 | ||
25 | S = "${WORKDIR}/git" | 25 | S = "${WORKDIR}/git" |
26 | 26 | ||
@@ -33,7 +33,7 @@ GO_IMPORT = "import" | |||
33 | 33 | ||
34 | CONTAINERD_PKG="github.com/containerd/containerd" | 34 | CONTAINERD_PKG="github.com/containerd/containerd" |
35 | 35 | ||
36 | INSANE_SKIP_${PN} += "ldflags" | 36 | INSANE_SKIP:${PN} += "ldflags" |
37 | 37 | ||
38 | do_configure[noexec] = "1" | 38 | do_configure[noexec] = "1" |
39 | 39 | ||
@@ -91,7 +91,7 @@ do_compile() { | |||
91 | 91 | ||
92 | inherit systemd | 92 | inherit systemd |
93 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" | 93 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" |
94 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','containerd.service','',d)}" | 94 | SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','containerd.service','',d)}" |
95 | 95 | ||
96 | do_install() { | 96 | do_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 | ||
119 | FILES_${PN} += "${systemd_system_unitdir}/*" | 119 | FILES:${PN} += "${systemd_system_unitdir}/*" |
120 | 120 | ||
121 | INSANE_SKIP_${PN} += "ldflags already-stripped" | 121 | INSANE_SKIP:${PN} += "ldflags already-stripped" |
122 | 122 | ||
123 | COMPATIBLE_HOST = "^(?!(qemu)?mips).*" | 123 | COMPATIBLE_HOST = "^(?!(qemu)?mips).*" |
124 | 124 | ||
125 | RDEPENDS_${BPN} += " virtual/runc" | 125 | RDEPENDS:${BPN} += " virtual/runc" |
126 | 126 | ||
127 | CVE_PRODUCT = "containerd" | 127 | CVE_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 | " |
44 | RDEPENDS_${PN} = " \ | 44 | RDEPENDS:${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 | ||
51 | PACKAGES =+ "${PN}-config" | 51 | PACKAGES =+ "${PN}-config" |
52 | 52 | ||
53 | RDEPENDS_${PN} += " virtual/containerd virtual/runc" | 53 | RDEPENDS:${PN} += " virtual/containerd virtual/runc" |
54 | RDEPENDS_${PN} += " e2fsprogs-mke2fs conmon util-linux iptables conntrack-tools" | 54 | RDEPENDS:${PN} += " e2fsprogs-mke2fs conmon util-linux iptables conntrack-tools" |
55 | 55 | ||
56 | inherit systemd | 56 | inherit systemd |
57 | inherit go | 57 | inherit go |
@@ -70,8 +70,8 @@ do_compile() { | |||
70 | } | 70 | } |
71 | 71 | ||
72 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" | 72 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" |
73 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','crio.service','',d)}" | 73 | SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','crio.service','',d)}" |
74 | SYSTEMD_AUTO_ENABLE_${PN} = "enable" | 74 | SYSTEMD_AUTO_ENABLE:${PN} = "enable" |
75 | 75 | ||
76 | do_install() { | 76 | do_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 | ||
101 | FILES_${PN}-config = "${sysconfdir}/crio/config/*" | 101 | FILES:${PN}-config = "${sysconfdir}/crio/config/*" |
102 | FILES_${PN} += "${systemd_unitdir}/system/*" | 102 | FILES:${PN} += "${systemd_unitdir}/system/*" |
103 | FILES_${PN} += "/usr/local/bin/*" | 103 | FILES:${PN} += "/usr/local/bin/*" |
104 | FILES_${PN} += "/usr/share/containers/oci/hooks.d" | 104 | FILES:${PN} += "/usr/share/containers/oci/hooks.d" |
105 | 105 | ||
106 | # don't clobber hooks.d | 106 | # don't clobber hooks.d |
107 | ALLOW_EMPTY_${PN} = "1" | 107 | ALLOW_EMPTY:${PN} = "1" |
108 | 108 | ||
109 | INSANE_SKIP_${PN} += "ldflags already-stripped" | 109 | INSANE_SKIP:${PN} += "ldflags already-stripped" |
110 | 110 | ||
111 | deltask compile_ptest_base | 111 | deltask 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 | ||
30 | PV = "1.21.0+git${SRCREV_cri-tools}" | 30 | PV = "1.21.0+git${SRCREV_cri-tools}" |
31 | 31 | ||
32 | RPROVIDES_${PN} += "crictl" | 32 | RPROVIDES:${PN} += "crictl" |
33 | PACKAGES =+ "${PN}-critest" | 33 | PACKAGES =+ "${PN}-critest" |
34 | 34 | ||
35 | inherit go | 35 | inherit 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 | ||
69 | FILES_${PN}-critest = "${bindir}/critest" | 69 | FILES:${PN}-critest = "${bindir}/critest" |
70 | 70 | ||
71 | # don't clobber hooks.d | 71 | # don't clobber hooks.d |
72 | ALLOW_EMPTY_${PN} = "1" | 72 | ALLOW_EMPTY:${PN} = "1" |
73 | 73 | ||
74 | INSANE_SKIP_${PN} += "ldflags already-stripped textrel" | 74 | INSANE_SKIP:${PN} += "ldflags already-stripped textrel" |
75 | 75 | ||
76 | deltask compile_ptest_base | 76 | deltask 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 \ | |||
25 | COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" | 25 | COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" |
26 | 26 | ||
27 | DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet" | 27 | DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet" |
28 | RDEPENDS_${PN} = "bash" | 28 | RDEPENDS:${PN} = "bash" |
29 | 29 | ||
30 | S = "${WORKDIR}/git" | 30 | S = "${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 | # |
37 | EXTRA_OEMAKE_arm += "ARCH=arm UNAME-M=${CRIU_BUILD_ARCH} WERROR=0" | 37 | EXTRA_OEMAKE:arm += "ARCH=arm UNAME-M=${CRIU_BUILD_ARCH} WERROR=0" |
38 | EXTRA_OEMAKE_x86-64 += "ARCH=x86 WERROR=0" | 38 | EXTRA_OEMAKE:x86-64 += "ARCH=x86 WERROR=0" |
39 | EXTRA_OEMAKE_aarch64 += "ARCH=aarch64 WERROR=0" | 39 | EXTRA_OEMAKE:aarch64 += "ARCH=aarch64 WERROR=0" |
40 | 40 | ||
41 | EXTRA_OEMAKE_append += "SBINDIR=${sbindir} LIBDIR=${libdir} INCLUDEDIR=${includedir} PIEGEN=no" | 41 | EXTRA_OEMAKE:append += "SBINDIR=${sbindir} LIBDIR=${libdir} INCLUDEDIR=${includedir} PIEGEN=no" |
42 | EXTRA_OEMAKE_append += "LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unitdir}" | 42 | EXTRA_OEMAKE:append += "LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unitdir}" |
43 | 43 | ||
44 | CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " | 44 | CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " |
45 | 45 | ||
46 | CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" | 46 | CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" |
47 | CFLAGS_arm += "-D__WORDSIZE" | 47 | CFLAGS: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'" |
50 | export LDFLAGS="" | 50 | export LDFLAGS="" |
@@ -63,7 +63,7 @@ PACKAGECONFIG[selinux] = ",,libselinux" | |||
63 | 63 | ||
64 | CLEANBROKEN = "1" | 64 | CLEANBROKEN = "1" |
65 | 65 | ||
66 | do_compile_prepend() { | 66 | do_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 | ||
86 | FILES_${PN} += "${systemd_unitdir}/ \ | 86 | FILES:${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 | ||
92 | FILES_${PN}-staticdev += " \ | 92 | FILES:${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" | |||
33 | DEPENDS += "systemd" | 33 | DEPENDS += "systemd" |
34 | DEPENDS += "oci-image-spec oci-runtime-spec" | 34 | DEPENDS += "oci-image-spec oci-runtime-spec" |
35 | 35 | ||
36 | do_configure_prepend () { | 36 | do_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 | ||
15 | DEPENDS += "${PYTHON_PN}-fastentrypoints-native" | 15 | DEPENDS += "${PYTHON_PN}-fastentrypoints-native" |
16 | 16 | ||
17 | RDEPENDS_${PN} = "\ | 17 | RDEPENDS:${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 | ||
61 | INSANE_SKIP_${PN} += "ldflags already-stripped" | 61 | INSANE_SKIP:${PN} += "ldflags already-stripped" |
62 | INSANE_SKIP_${MLPREFIX}docker-registry += "ldflags already-stripped textrel" | 62 | INSANE_SKIP:${MLPREFIX}docker-registry += "ldflags already-stripped textrel" |
63 | 63 | ||
64 | FILES_docker-registry = "${sbindir}/*" | 64 | FILES:docker-registry = "${sbindir}/*" |
65 | FILES_docker-registry += "${systemd_unitdir}/system/docker-registry.service" | 65 | FILES:docker-registry += "${systemd_unitdir}/system/docker-registry.service" |
66 | FILES_docker-registry += "${sysconfdir}/docker-distribution/*" | 66 | FILES:docker-registry += "${sysconfdir}/docker-distribution/*" |
67 | FILES_docker-registry += "${localstatedir}/lib/registry/" | 67 | FILES:docker-registry += "${localstatedir}/lib/registry/" |
68 | 68 | ||
69 | SYSTEMD_SERVICE_docker-registry = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker-registry.service','',d)}" | 69 | SYSTEMD_SERVICE:docker-registry = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker-registry.service','',d)}" |
70 | SYSTEMD_AUTO_ENABLE_docker-registry = "enable" | 70 | SYSTEMD_AUTO_ENABLE:docker-registry = "enable" |
71 | 71 | ||
72 | RDEPENDS_${PN}-ptest_remove = "${PN}" | 72 | RDEPENDS_${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 | ||
23 | DEPENDS_append_class-target = " lvm2" | 23 | DEPENDS:append:class-target = " lvm2" |
24 | RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \ | 24 | RDEPENDS:${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 | " |
30 | RDEPENDS_${PN} += "virtual/containerd virtual/runc" | 30 | RDEPENDS:${PN} += "virtual/containerd virtual/runc" |
31 | 31 | ||
32 | RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade" | 32 | RRECOMMENDS:${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 | ||
34 | PROVIDES += "virtual/docker" | 34 | PROVIDES += "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" |
37 | PACKAGE_NAME = "docker" | 37 | PACKAGE_NAME = "docker" |
38 | RPROVIDES_${PN} += "docker" | 38 | RPROVIDES:${PN} += "docker" |
39 | RPROVIDES_${PN}-dbg += "docker-dbg" | 39 | RPROVIDES:${PN}-dbg += "docker-dbg" |
40 | RPROVIDES_${PN}-dev += "docker-dev" | 40 | RPROVIDES:${PN}-dev += "docker-dev" |
41 | RPROVIDES_${PN}-contrip += "docker-dev" | 41 | RPROVIDES:${PN}-contrip += "docker-dev" |
42 | 42 | ||
43 | inherit pkgconfig | 43 | inherit pkgconfig |
44 | PACKAGECONFIG ??= "docker-init" | 44 | PACKAGECONFIG ??= "docker-init" |
@@ -139,26 +139,26 @@ do_install() { | |||
139 | 139 | ||
140 | 140 | ||
141 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" | 141 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" |
142 | SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.socket','',d)}" | 142 | SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.socket','',d)}" |
143 | SYSTEMD_AUTO_ENABLE_${PN} = "enable" | 143 | SYSTEMD_AUTO_ENABLE:${PN} = "enable" |
144 | 144 | ||
145 | INITSCRIPT_PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','${PN}','',d)}" | 145 | INITSCRIPT_PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','${PN}','',d)}" |
146 | INITSCRIPT_NAME_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','docker.init','',d)}" | 146 | INITSCRIPT_NAME:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','docker.init','',d)}" |
147 | INITSCRIPT_PARAMS_${PN} = "defaults" | 147 | INITSCRIPT_PARAMS:${PN} = "defaults" |
148 | 148 | ||
149 | inherit useradd | 149 | inherit useradd |
150 | USERADD_PACKAGES = "${PN}" | 150 | USERADD_PACKAGES = "${PN}" |
151 | GROUPADD_PARAM_${PN} = "-r docker" | 151 | GROUPADD_PARAM:${PN} = "-r docker" |
152 | 152 | ||
153 | COMPATIBLE_HOST = "^(?!(qemu)?mips).*" | 153 | COMPATIBLE_HOST = "^(?!(qemu)?mips).*" |
154 | 154 | ||
155 | INSANE_SKIP_${PN} += "ldflags textrel" | 155 | INSANE_SKIP:${PN} += "ldflags textrel" |
156 | 156 | ||
157 | FILES_${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker" | 157 | FILES:${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker" |
158 | 158 | ||
159 | PACKAGES =+ "${PN}-contrib" | 159 | PACKAGES =+ "${PN}-contrib" |
160 | FILES_${PN}-contrib += "${datadir}/docker/check-config.sh" | 160 | FILES:${PN}-contrib += "${datadir}/docker/check-config.sh" |
161 | RDEPENDS_${PN}-contrib += "bash" | 161 | RDEPENDS:${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 | # |
173 | PACKAGES =+ "${PN}-cli" | 173 | PACKAGES =+ "${PN}-cli" |
174 | FILES_${PN}-cli += "${bindir}/docker" | 174 | FILES:${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 |
178 | DOCKER_UNIFIED_PACKAGE ?= "True" | 178 | DOCKER_UNIFIED_PACKAGE ?= "True" |
179 | RDEPENDS_${PN} += "${@bb.utils.contains("DOCKER_UNIFIED_PACKAGE", "True", "${PN}-cli", "", d)}" | 179 | RDEPENDS:${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 | ||
39 | FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" | 39 | FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" |
40 | 40 | ||
41 | CLEANBROKEN = "1" \ No newline at end of file | 41 | CLEANBROKEN = "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 | ||
39 | FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" | 39 | FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" |
40 | 40 | ||
41 | CLEANBROKEN = "1" \ No newline at end of file | 41 | CLEANBROKEN = "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 | ||
39 | FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" | 39 | FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" |
40 | 40 | ||
41 | CLEANBROKEN = "1" \ No newline at end of file | 41 | CLEANBROKEN = "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 | ||
39 | FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" | 39 | FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" |
40 | 40 | ||
41 | CLEANBROKEN = "1" \ No newline at end of file | 41 | CLEANBROKEN = "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() { | |||
72 | PACKAGES =+ "${PN}-server ${PN}-agent" | 72 | PACKAGES =+ "${PN}-server ${PN}-agent" |
73 | 73 | ||
74 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}-server ${PN}-agent','',d)}" | 74 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}-server ${PN}-agent','',d)}" |
75 | SYSTEMD_SERVICE_${PN}-server = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s.service','',d)}" | 75 | SYSTEMD_SERVICE:${PN}-server = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s.service','',d)}" |
76 | SYSTEMD_SERVICE_${PN}-agent = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s-agent.service','',d)}" | 76 | SYSTEMD_SERVICE:${PN}-agent = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s-agent.service','',d)}" |
77 | SYSTEMD_AUTO_ENABLE_${PN}-agent = "disable" | 77 | SYSTEMD_AUTO_ENABLE:${PN}-agent = "disable" |
78 | 78 | ||
79 | FILES_${PN}-agent = "${BIN_PREFIX}/bin/k3s-agent" | 79 | FILES:${PN}-agent = "${BIN_PREFIX}/bin/k3s-agent" |
80 | FILES_${PN} += "${BIN_PREFIX}/bin/*" | 80 | FILES:${PN} += "${BIN_PREFIX}/bin/*" |
81 | 81 | ||
82 | RDEPENDS_${PN} = "k3s-cni conntrack-tools coreutils findutils iptables iproute2 ipset virtual/containerd" | 82 | RDEPENDS:${PN} = "k3s-cni conntrack-tools coreutils findutils iptables iproute2 ipset virtual/containerd" |
83 | RDEPENDS_${PN}-server = "${PN}" | 83 | RDEPENDS:${PN}-server = "${PN}" |
84 | RDEPENDS_${PN}-agent = "${PN}" | 84 | RDEPENDS:${PN}-agent = "${PN}" |
85 | 85 | ||
86 | RRECOMMENDS_${PN} = "\ | 86 | RRECOMMENDS:${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 | ||
98 | RCONFLICTS_${PN} = "kubectl" | 98 | RCONFLICTS:${PN} = "kubectl" |
99 | 99 | ||
100 | INHIBIT_PACKAGE_STRIP = "1" | 100 | INHIBIT_PACKAGE_STRIP = "1" |
101 | INSANE_SKIP_${PN} += "ldflags already-stripped" | 101 | INSANE_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 | ||
88 | PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc" | 88 | PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc" |
89 | 89 | ||
90 | ALLOW_EMPTY_${PN} = "1" | 90 | ALLOW_EMPTY:${PN} = "1" |
91 | INSANE_SKIP_${PN} += "ldflags already-stripped" | 91 | INSANE_SKIP:${PN} += "ldflags already-stripped" |
92 | INSANE_SKIP_${PN}-misc += "ldflags already-stripped" | 92 | INSANE_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. |
96 | RDEPENDS_${PN} += "kubeadm \ | 96 | RDEPENDS:${PN} += "kubeadm \ |
97 | kubectl \ | 97 | kubectl \ |
98 | kubelet \ | 98 | kubelet \ |
99 | cni" | 99 | cni" |
100 | 100 | ||
101 | RDEPENDS_kubeadm = "kubelet kubectl" | 101 | RDEPENDS:kubeadm = "kubelet kubectl" |
102 | FILES_kubeadm = "${bindir}/kubeadm ${systemd_unitdir}/system/kubelet.service.d/*" | 102 | FILES:kubeadm = "${bindir}/kubeadm ${systemd_unitdir}/system/kubelet.service.d/*" |
103 | 103 | ||
104 | RDEPENDS_kubelet = "iptables socat util-linux ethtool iproute2 ebtables iproute2-tc" | 104 | RDEPENDS:kubelet = "iptables socat util-linux ethtool iproute2 ebtables iproute2-tc" |
105 | FILES_kubelet = "${bindir}/kubelet ${systemd_unitdir}/system/kubelet.service ${sysconfdir}/kubernetes/manifests/" | 105 | FILES:kubelet = "${bindir}/kubelet ${systemd_unitdir}/system/kubelet.service ${sysconfdir}/kubernetes/manifests/" |
106 | 106 | ||
107 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet','',d)}" | 107 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet','',d)}" |
108 | SYSTEMD_SERVICE_kubelet = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet.service','',d)}" | 108 | SYSTEMD_SERVICE:kubelet = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet.service','',d)}" |
109 | SYSTEMD_AUTO_ENABLE_kubelet = "enable" | 109 | SYSTEMD_AUTO_ENABLE:kubelet = "enable" |
110 | 110 | ||
111 | FILES_kubectl = "${bindir}/kubectl" | 111 | FILES:kubectl = "${bindir}/kubectl" |
112 | FILES_kube-proxy = "${bindir}/kube-proxy" | 112 | FILES:kube-proxy = "${bindir}/kube-proxy" |
113 | FILES_${PN}-misc = "${bindir}" | 113 | FILES:${PN}-misc = "${bindir}" |
114 | 114 | ||
115 | 115 | ||
116 | deltask compile_ptest_base | 116 | deltask 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 | ||
8 | DEPENDS = "libxml2 libcap" | 8 | DEPENDS = "libxml2 libcap" |
9 | RDEPENDS_${PN} = " \ | 9 | RDEPENDS:${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 | ||
33 | RDEPENDS_${PN}_append_libc-glibc = " glibc-utils" | 33 | RDEPENDS:${PN}:append:libc-glibc = " glibc-utils" |
34 | 34 | ||
35 | RDEPENDS_${PN}-ptest += "file make gmp nettle gnutls bash libgcc" | 35 | RDEPENDS:${PN}-ptest += "file make gmp nettle gnutls bash libgcc" |
36 | 36 | ||
37 | RDEPENDS_${PN}-networking += "iptables" | 37 | RDEPENDS:${PN}-networking += "iptables" |
38 | 38 | ||
39 | SRC_URI = "http://linuxcontainers.org/downloads/${BPN}/${BPN}-${PV}.tar.gz \ | 39 | SRC_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 | |||
90 | inherit autotools pkgconfig ptest update-rc.d systemd python3native | 90 | inherit autotools pkgconfig ptest update-rc.d systemd python3native |
91 | 91 | ||
92 | SYSTEMD_PACKAGES = "${PN} ${PN}-networking" | 92 | SYSTEMD_PACKAGES = "${PN} ${PN}-networking" |
93 | SYSTEMD_SERVICE_${PN} = "lxc.service" | 93 | SYSTEMD_SERVICE:${PN} = "lxc.service" |
94 | SYSTEMD_AUTO_ENABLE_${PN} = "disable" | 94 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" |
95 | SYSTEMD_SERVICE_${PN}-networking = "lxc-net.service" | 95 | SYSTEMD_SERVICE:${PN}-networking = "lxc-net.service" |
96 | SYSTEMD_AUTO_ENABLE_${PN}-networking = "enable" | 96 | SYSTEMD_AUTO_ENABLE:${PN}-networking = "enable" |
97 | 97 | ||
98 | INITSCRIPT_PACKAGES = "${PN} ${PN}-networking" | 98 | INITSCRIPT_PACKAGES = "${PN} ${PN}-networking" |
99 | INITSCRIPT_NAME_${PN} = "lxc-containers" | 99 | INITSCRIPT_NAME:${PN} = "lxc-containers" |
100 | INITSCRIPT_PARAMS_${PN} = "defaults" | 100 | INITSCRIPT_PARAMS:${PN} = "defaults" |
101 | INITSCRIPT_NAME_${PN}-networking = "lxc-net" | 101 | INITSCRIPT_NAME:${PN}-networking = "lxc-net" |
102 | INITSCRIPT_PARAMS_${PN}-networking = "defaults" | 102 | INITSCRIPT_PARAMS:${PN}-networking = "defaults" |
103 | 103 | ||
104 | FILES_${PN}-doc = "${mandir} ${infodir}" | 104 | FILES:${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 |
106 | FILES_${PN} += "${docdir}" | 106 | FILES:${PN} += "${docdir}" |
107 | FILES_${PN} += "${libdir}/python3*" | 107 | FILES:${PN} += "${libdir}/python3*" |
108 | FILES_${PN} += "${datadir}/bash-completion" | 108 | FILES:${PN} += "${datadir}/bash-completion" |
109 | FILES_${PN}-dbg += "${libexecdir}/lxc/.debug" | 109 | FILES:${PN}-dbg += "${libexecdir}/lxc/.debug" |
110 | FILES_${PN}-dbg += "${libexecdir}/lxc/hooks/.debug" | 110 | FILES:${PN}-dbg += "${libexecdir}/lxc/hooks/.debug" |
111 | PACKAGES =+ "${PN}-templates ${PN}-networking ${PN}-lua" | 111 | PACKAGES =+ "${PN}-templates ${PN}-networking ${PN}-lua" |
112 | FILES_lua-${PN} = "${datadir}/lua ${libdir}/lua" | 112 | FILES:lua-${PN} = "${datadir}/lua ${libdir}/lua" |
113 | FILES_lua-${PN}-dbg += "${libdir}/lua/lxc/.debug" | 113 | FILES:lua-${PN}-dbg += "${libdir}/lua/lxc/.debug" |
114 | FILES_${PN}-templates += "${datadir}/lxc/templates" | 114 | FILES:${PN}-templates += "${datadir}/lxc/templates" |
115 | RDEPENDS_${PN}-templates += "bash" | 115 | RDEPENDS:${PN}-templates += "bash" |
116 | 116 | ||
117 | FILES_${PN}-networking += " \ | 117 | FILES:${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 | ||
128 | do_install_append() { | 128 | do_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 | ||
168 | pkg_postinst_${PN}() { | 168 | pkg_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 | ||
174 | pkg_postinst_${PN}-networking() { | 174 | pkg_postinst:${PN}-networking() { |
175 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 175 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
176 | cat >> $D/etc/network/interfaces << EOF | 176 | cat >> $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" | |||
14 | SRC_URI[sha256sum] = "3f28e2f4b04c0090aaf88b72666505f0313768a5254dd48a14c43cf78c543ec8" | 14 | SRC_URI[sha256sum] = "3f28e2f4b04c0090aaf88b72666505f0313768a5254dd48a14c43cf78c543ec8" |
15 | 15 | ||
16 | DEPENDS += "fuse" | 16 | DEPENDS += "fuse" |
17 | RDEPENDS_${PN} += "fuse" | 17 | RDEPENDS:${PN} += "fuse" |
18 | 18 | ||
19 | FILES_${PN} += "${datadir}/lxc/config/common.conf.d/*" | 19 | FILES:${PN} += "${datadir}/lxc/config/common.conf.d/*" |
20 | 20 | ||
21 | CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN='false // No help2man //'" | 21 | CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN='false // No help2man //'" |
22 | EXTRA_OECONF += "--with-distro=unknown --with-init-script=${VIRTUAL-RUNTIME_init_manager}" | 22 | EXTRA_OECONF += "--with-distro=unknown --with-init-script=${VIRTUAL-RUNTIME_init_manager}" |
23 | 23 | ||
24 | SYSTEMD_PACKAGES = "${PN}" | 24 | SYSTEMD_PACKAGES = "${PN}" |
25 | SYSTEMD_SERVICE_${PN} = "lxcfs.service" | 25 | SYSTEMD_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 | ||
39 | FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" | 39 | FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" |
40 | 40 | ||
41 | CLEANBROKEN = "1" | 41 | CLEANBROKEN = "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 | ||
65 | INSANE_SKIP_${PN} += "ldflags textrel" | 65 | INSANE_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 | ||
39 | FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" | 39 | FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" |
40 | 40 | ||
41 | CLEANBROKEN = "1" | 41 | CLEANBROKEN = "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" | |||
12 | PV = "0.1.0+git${SRCPV}" | 12 | PV = "0.1.0+git${SRCPV}" |
13 | GO_IMPORT = "import" | 13 | GO_IMPORT = "import" |
14 | 14 | ||
15 | INSANE_SKIP_${PN} += "ldflags textrel" | 15 | INSANE_SKIP:${PN} += "ldflags textrel" |
16 | 16 | ||
17 | inherit goarch | 17 | inherit goarch |
18 | inherit go | 18 | inherit 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 | ||
35 | FILES_${PN} += "${libexecdir}/oci/hooks.d/" | 35 | FILES:${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 | ||
13 | DEPENDS += "${PYTHON_PN}-pyyaml-native" | 13 | DEPENDS += "${PYTHON_PN}-pyyaml-native" |
14 | 14 | ||
15 | RDEPENDS_${PN} += "${PYTHON_PN}-pyyaml" | 15 | RDEPENDS:${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 | ||
103 | FILES_${PN} += " \ | 103 | FILES:${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 | ||
110 | SYSTEMD_SERVICE_${PN} = "podman.service podman.socket" | 110 | SYSTEMD_SERVICE:${PN} = "podman.service podman.socket" |
111 | 111 | ||
112 | RDEPENDS_${PN} += "conmon virtual/runc iptables cni skopeo" | 112 | RDEPENDS:${PN} += "conmon virtual/runc iptables cni skopeo" |
113 | RRECOMMENDS_${PN} += "slirp4netns kernel-module-xt-masquerade kernel-module-xt-comment" | 113 | RRECOMMENDS:${PN} += "slirp4netns kernel-module-xt-masquerade kernel-module-xt-comment" |
114 | RCONFLICTS_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}" | 114 | RCONFLICTS:${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 | # |
21 | COMPATIBLE_HOST_mipsarch = "null" | 21 | COMPATIBLE_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 | ||
28 | PROVIDES += "virtual/runc" | 28 | PROVIDES += "virtual/runc" |
29 | RPROVIDES_${PN} = "virtual/runc" | 29 | RPROVIDES:${PN} = "virtual/runc" |
30 | 30 | ||
31 | GO_IMPORT = "import" | 31 | GO_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) |
3 | INSANE_SKIP_${PN} += "dev-so" | 3 | INSANE_SKIP:${PN} += "dev-so" |
4 | 4 | ||
5 | RDEPENDS_${PN} += "glibc python3 ca-certificates openssl bash e2fsprogs-mke2fs" | 5 | RDEPENDS:${PN} += "glibc python3 ca-certificates openssl bash e2fsprogs-mke2fs" |
6 | 6 | ||
7 | LICENSE = "BSD" | 7 | LICENSE = "BSD" |
8 | LIC_FILES_CHKSUM = "file://COPYRIGHT.md;md5=be78c34e483dd7d8439358b1e024b294 \ | 8 | LIC_FILES_CHKSUM = "file://COPYRIGHT.md;md5=be78c34e483dd7d8439358b1e024b294 \ |
@@ -21,7 +21,7 @@ S = "${WORKDIR}/git" | |||
21 | inherit python3native autotools-brokensep | 21 | inherit python3native autotools-brokensep |
22 | EXTRA_OECONF = "--prefix=/usr/local" | 22 | EXTRA_OECONF = "--prefix=/usr/local" |
23 | 23 | ||
24 | pkg_postinst_${PN}() { | 24 | pkg_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 | ||
15 | inherit go | 15 | inherit go |
16 | 16 | ||
17 | RDEPENDS_${PN} = " \ | 17 | RDEPENDS:${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 | ||
84 | do_install_append_class-native() { | 84 | do_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 | ||
92 | do_install_append_class-nativesdk() { | 92 | do_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 | ||
97 | INSANE_SKIP_${PN} += "ldflags" | 97 | INSANE_SKIP:${PN} += "ldflags" |
98 | 98 | ||
99 | BBCLASSEXTEND = "native nativesdk" | 99 | BBCLASSEXTEND = "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" | |||
18 | BBCLASSEXTEND = "native" | 18 | BBCLASSEXTEND = "native" |
19 | 19 | ||
20 | # tini links with -static, so no PIE for us | 20 | # tini links with -static, so no PIE for us |
21 | SECURITY_CFLAGS_pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}" | 21 | SECURITY_CFLAGS:pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}" |
22 | 22 | ||
23 | inherit cmake | 23 | inherit 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 |
31 | PROVIDES += "docker-init" | 31 | PROVIDES += "docker-init" |
32 | RPROVIDES_${PN} = "docker-init" | 32 | RPROVIDES:${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" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" |
5 | 5 | ||
6 | RDEPENDS_${PN} = "skopeo" | 6 | RDEPENDS:${PN} = "skopeo" |
7 | RDEPENDS_${PN}_class-native = "" | 7 | RDEPENDS:${PN}:class-native = "" |
8 | 8 | ||
9 | SRCREV_umoci = "758044fc26ad65eb900143e90d1e22c2d6e4484d" | 9 | SRCREV_umoci = "758044fc26ad65eb900143e90d1e22c2d6e4484d" |
10 | SRC_URI = "git://github.com/opencontainers/umoci.git;branch=master;name=umoci;destsuffix=github.com/opencontainers/umoci \ | 10 | SRC_URI = "git://github.com/opencontainers/umoci.git;branch=master;name=umoci;destsuffix=github.com/opencontainers/umoci \ |
@@ -22,7 +22,7 @@ inherit go | |||
22 | EXTRA_OEMAKE="BUILDTAGS=''" | 22 | EXTRA_OEMAKE="BUILDTAGS=''" |
23 | 23 | ||
24 | 24 | ||
25 | do_compile_class-native () { | 25 | do_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 | ||
79 | INSANE_SKIP_${PN} += "ldflags already-stripped" | 79 | INSANE_SKIP:${PN} += "ldflags already-stripped" |
80 | BBCLASSEXTEND = "native nativesdk" | 80 | BBCLASSEXTEND = "native nativesdk" |