diff options
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/bind/bind_virtualization.inc | 2 | ||||
-rw-r--r-- | recipes-core/busybox/busybox-initrd.bb | 2 | ||||
-rw-r--r-- | recipes-core/kata-containers/kata-agent_git.bb | 6 | ||||
-rw-r--r-- | recipes-core/kata-containers/kata-proxy_git.bb | 4 | ||||
-rw-r--r-- | recipes-core/kata-containers/kata-runtime_git.bb | 6 | ||||
-rw-r--r-- | recipes-core/kata-containers/kata-shim_git.bb | 4 | ||||
-rw-r--r-- | recipes-core/runx/runx_git.bb | 1 |
7 files changed, 8 insertions, 17 deletions
diff --git a/recipes-core/bind/bind_virtualization.inc b/recipes-core/bind/bind_virtualization.inc index f942d7ad..bb4e22b2 100644 --- a/recipes-core/bind/bind_virtualization.inc +++ b/recipes-core/bind/bind_virtualization.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | # Tell named not to bother listening on the IP address that lxc and libvirtd handles itself. | 1 | # Tell named not to bother listening on the IP address that lxc and libvirtd handles itself. |
2 | do_install:append() { | 2 | do_install:append() { |
3 | sed -i -e 's,^\( *options *{\)$,\1\n\t// lxc and libvirtd would take care of this address itself\n\tlisten-on { ! 10.0.3.1; ! 192.168.122.1; any;};\n\tlisten-on-v6 { ! fc11:4514:1919:810::1; any;};\n,' ${D}${sysconfdir}/bind/named.conf.options | 3 | sed -i -e 's,^\( *options *{\)$,\1\n\t// lxc and libvirtd would take care of this address itself\n\tlisten-on { ! 10.0.3.1; ! 192.168.122.1; any;};\n\tlisten-on-v6 { ! fc42:5009:ba4b:5ab0::1; any;};\n,' ${D}${sysconfdir}/bind/named.conf.options |
4 | } | 4 | } |
diff --git a/recipes-core/busybox/busybox-initrd.bb b/recipes-core/busybox/busybox-initrd.bb index 513ed135..8fc3fb2a 100644 --- a/recipes-core/busybox/busybox-initrd.bb +++ b/recipes-core/busybox/busybox-initrd.bb | |||
@@ -22,7 +22,7 @@ SRC_URI += "file://init.cfg \ | |||
22 | ${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', 'file://static.cfg', '', d)} \ | 22 | ${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', 'file://static.cfg', '', d)} \ |
23 | file://initrd.cfg" | 23 | file://initrd.cfg" |
24 | 24 | ||
25 | S = "${WORKDIR}/busybox-${PV}" | 25 | S = "${UNPACKDIR}/busybox-${PV}" |
26 | 26 | ||
27 | # override security-flags settings, we have some warnings to ignore | 27 | # override security-flags settings, we have some warnings to ignore |
28 | SECURITY_STRINGFORMAT = "" | 28 | SECURITY_STRINGFORMAT = "" |
diff --git a/recipes-core/kata-containers/kata-agent_git.bb b/recipes-core/kata-containers/kata-agent_git.bb index de28235c..3ad94783 100644 --- a/recipes-core/kata-containers/kata-agent_git.bb +++ b/recipes-core/kata-containers/kata-agent_git.bb | |||
@@ -12,8 +12,6 @@ RDEPENDS:${PN}-dev:append = "bash" | |||
12 | 12 | ||
13 | SKIP_RECIPE[kata-agent] ?= "kata containers are currently broken, patches accepted" | 13 | SKIP_RECIPE[kata-agent] ?= "kata containers are currently broken, patches accepted" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit go | 15 | inherit go |
18 | 16 | ||
19 | do_compile() { | 17 | do_compile() { |
@@ -30,10 +28,10 @@ do_compile() { | |||
30 | 28 | ||
31 | do_install() { | 29 | do_install() { |
32 | mkdir -p ${D}/${bindir}/ | 30 | mkdir -p ${D}/${bindir}/ |
33 | cp ${WORKDIR}/git/src/${GO_IMPORT}/kata-agent ${D}/${bindir} | 31 | cp ${UNPACKDIR}/git/src/${GO_IMPORT}/kata-agent ${D}/${bindir} |
34 | 32 | ||
35 | mkdir -p ${D}/${systemd_unitdir}/system | 33 | mkdir -p ${D}/${systemd_unitdir}/system |
36 | cp ${WORKDIR}/git/src/${GO_IMPORT}/kata-agent.service ${D}/${systemd_unitdir}/system | 34 | cp ${UNPACKDIR}/git/src/${GO_IMPORT}/kata-agent.service ${D}/${systemd_unitdir}/system |
37 | } | 35 | } |
38 | 36 | ||
39 | deltask compile_ptest_base | 37 | deltask compile_ptest_base |
diff --git a/recipes-core/kata-containers/kata-proxy_git.bb b/recipes-core/kata-containers/kata-proxy_git.bb index d835e4d2..03784ae8 100644 --- a/recipes-core/kata-containers/kata-proxy_git.bb +++ b/recipes-core/kata-containers/kata-proxy_git.bb | |||
@@ -13,8 +13,6 @@ SKIP_RECIPE[kata-proxy] ?= "kata containers are currently broken, patches accept | |||
13 | 13 | ||
14 | RDEPENDS:${PN}-dev:append = "bash" | 14 | RDEPENDS:${PN}-dev:append = "bash" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit go | 16 | inherit go |
19 | 17 | ||
20 | do_compile() { | 18 | do_compile() { |
@@ -31,7 +29,7 @@ do_compile() { | |||
31 | 29 | ||
32 | do_install() { | 30 | do_install() { |
33 | mkdir -p ${D}/${libexecdir}/kata-containers | 31 | mkdir -p ${D}/${libexecdir}/kata-containers |
34 | cp ${WORKDIR}/git/src/${GO_IMPORT}/kata-proxy ${D}/${libexecdir}/kata-containers | 32 | cp ${UNPACKDIR}/git/src/${GO_IMPORT}/kata-proxy ${D}/${libexecdir}/kata-containers |
35 | } | 33 | } |
36 | 34 | ||
37 | deltask compile_ptest_base | 35 | deltask compile_ptest_base |
diff --git a/recipes-core/kata-containers/kata-runtime_git.bb b/recipes-core/kata-containers/kata-runtime_git.bb index c0d7c4cb..30ed4229 100644 --- a/recipes-core/kata-containers/kata-runtime_git.bb +++ b/recipes-core/kata-containers/kata-runtime_git.bb | |||
@@ -21,8 +21,6 @@ DEPENDS += "yq-native" | |||
21 | 21 | ||
22 | SKIP_RECIPE[kata-runtime] ?= "kata containers are currently broken, patches accepted" | 22 | SKIP_RECIPE[kata-runtime] ?= "kata containers are currently broken, patches accepted" |
23 | 23 | ||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | inherit go | 24 | inherit go |
27 | 25 | ||
28 | do_compile() { | 26 | do_compile() { |
@@ -41,10 +39,10 @@ do_compile() { | |||
41 | 39 | ||
42 | do_install() { | 40 | do_install() { |
43 | mkdir -p ${D}/${bindir} | 41 | mkdir -p ${D}/${bindir} |
44 | cp ${WORKDIR}/git/src/${GO_IMPORT}/kata-runtime ${D}/${bindir} | 42 | cp ${UNPACKDIR}/git/src/${GO_IMPORT}/kata-runtime ${D}/${bindir} |
45 | 43 | ||
46 | mkdir -p ${D}/${datadir}/defaults/kata-containers/ | 44 | mkdir -p ${D}/${datadir}/defaults/kata-containers/ |
47 | cp ${WORKDIR}/git/src/${GO_IMPORT}/cli/config/configuration-qemu.toml ${D}/${datadir}/defaults/kata-containers/configuration.toml | 45 | cp ${UNPACKDIR}/git/src/${GO_IMPORT}/cli/config/configuration-qemu.toml ${D}/${datadir}/defaults/kata-containers/configuration.toml |
48 | 46 | ||
49 | sed -e 's|/usr/bin/qemu-lite-system-x86_64|/usr/bin/qemu-system-x86_64|' -i ${D}/${datadir}/defaults/kata-containers/configuration.toml | 47 | sed -e 's|/usr/bin/qemu-lite-system-x86_64|/usr/bin/qemu-system-x86_64|' -i ${D}/${datadir}/defaults/kata-containers/configuration.toml |
50 | sed -e 's|/usr/share/kata-containers/vmlinuz.container|/var/lib/hyper/kernel|' -i ${D}/${datadir}/defaults/kata-containers/configuration.toml | 48 | sed -e 's|/usr/share/kata-containers/vmlinuz.container|/var/lib/hyper/kernel|' -i ${D}/${datadir}/defaults/kata-containers/configuration.toml |
diff --git a/recipes-core/kata-containers/kata-shim_git.bb b/recipes-core/kata-containers/kata-shim_git.bb index 8a7cb78a..b8c7540c 100644 --- a/recipes-core/kata-containers/kata-shim_git.bb +++ b/recipes-core/kata-containers/kata-shim_git.bb | |||
@@ -12,8 +12,6 @@ SKIP_RECIPE[kata-shim] ?= "kata containers are currently broken, patches accepte | |||
12 | 12 | ||
13 | RDEPENDS:${PN}-dev:append = "bash" | 13 | RDEPENDS:${PN}-dev:append = "bash" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit go | 15 | inherit go |
18 | 16 | ||
19 | do_compile() { | 17 | do_compile() { |
@@ -30,7 +28,7 @@ do_compile() { | |||
30 | 28 | ||
31 | do_install() { | 29 | do_install() { |
32 | mkdir -p ${D}/${libexecdir}/kata-containers | 30 | mkdir -p ${D}/${libexecdir}/kata-containers |
33 | cp ${WORKDIR}/git/src/${GO_IMPORT}/kata-shim ${D}/${libexecdir}/kata-containers | 31 | cp ${UNPACKDIR}/git/src/${GO_IMPORT}/kata-shim ${D}/${libexecdir}/kata-containers |
34 | } | 32 | } |
35 | 33 | ||
36 | deltask compile_ptest_base | 34 | deltask compile_ptest_base |
diff --git a/recipes-core/runx/runx_git.bb b/recipes-core/runx/runx_git.bb index b3250322..618bff45 100644 --- a/recipes-core/runx/runx_git.bb +++ b/recipes-core/runx/runx_git.bb | |||
@@ -21,7 +21,6 @@ SRC_URI[sha256sum] = "bf338980b1670bca287f9994b7441c2361907635879169c64ae78364ef | |||
21 | LICENSE = "Apache-2.0" | 21 | LICENSE = "Apache-2.0" |
22 | LIC_FILES_CHKSUM = "file://LICENSE;md5=945fc9aa694796a6337395cc291ddd8c" | 22 | LIC_FILES_CHKSUM = "file://LICENSE;md5=945fc9aa694796a6337395cc291ddd8c" |
23 | 23 | ||
24 | S = "${WORKDIR}/git" | ||
25 | PV = "v1.0-git${SRCREV_runx}" | 24 | PV = "v1.0-git${SRCREV_runx}" |
26 | 25 | ||
27 | inherit features_check | 26 | inherit features_check |