busybox: Add nsenter for podman runtime
PATCH 1/2 busybox: Add nsenter for podman runtime
From: Nathan Dunne <[email protected]>
--- recipes-core/busybox/busybox/nsenter.cfg | 1 + recipes-core/busybox/busybox_virtualization.inc | 1 + 2 files changed, 2 insertions(+) create mode 100644 recipes-core/busybox/busybox/nsenter.cfg
recipes-core/busybox/busybox/nsenter.cfg new file +1 -0
@@ -0,0 +1 @@ +CONFIG_NSENTER=y
recipes-core/busybox/busybox_virtualization.inc +1 -0
@@ -7,4 +7,5 @@ SRC_URI += " \ file://mount-cifs.cfg \ file://ps-extras.cfg \ file://getopt.cfg \ + file://nsenter.cfg \ "
--
2.17.1
PATCH 2/2 podman: Added kernel modules for iptables error
From: Nathan Dunne <[email protected]>
Added kernel modules kernel-module-xt-masquerade and kernel-module-xt-comment to RRECOMMENDS, to avoid iptables errors with podman
--- recipes-containers/podman/podman_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/podman/podman_git.bb +1 -1
@@ -109,5 +109,5 @@ FILES_${PN} += " \ SYSTEMD_SERVICE_${PN} = "podman.service podman.socket" RDEPENDS_${PN} += "conmon virtual/runc iptables cni skopeo" -RRECOMMENDS_${PN} += "slirp4netns" +RRECOMMENDS_${PN} += "slirp4netns kernel-module-xt-masquerade kernel-module-xt-comment" RCONFLICTS_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}"
--
2.17.1
Re: [meta-virtualization] [PATCH 2/2] podman: Added kernel modules for iptables error
Hi,
Quoted 7 lines · Nathan Dunne via lists.yoctoproject.org
Added kernel modules kernel-module-xt-masquerade and kernel-module-xt-comment to RRECOMMENDS, to avoid iptables errors with podman
Signed-off-by Nathan Dunne <[email protected]>
Cheers
Bertrand
Quoted 21 lines
---
recipes-containers/podman/podman_git.bb | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)recipes-containers/podman/podman_git.bb +0
-0@@ -109,5 +109,5 @@ FILES_${PN} += " \SYSTEMD_SERVICE_${PN} = "podman.service podman.socket"
RDEPENDS_${PN} += "conmon virtual/runc iptables cni skopeo"
recipes-containers/podman/podman_git.bb +1
-1-RRECOMMENDS_${PN} += "slirp4netns" +RRECOMMENDS_${PN} += "slirp4netns kernel-module-xt-masquerade kernel-module-xt-comment"RCONFLICTS_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}" --
2.17.1
Hi Nathan,
Quoted 3 lines · Nathan Dunne via lists.yoctoproject.org
Signed-off-by Nathan Dunne <[email protected]>
NIT: Maybe the commiter could add a simple commit message like:
Add nsenter to Busybox configuration as it is required by Podman at runtime
Cheers
Bertrand
Quoted 29 lines
---
recipes-core/busybox/busybox/nsenter.cfg | 1 +
recipes-core/busybox/busybox_virtualization.inc | 1 +2 files changed, 2 insertions(+)create mode 100644 recipes-core/busybox/busybox/nsenter.cfg
recipes-core/busybox/busybox/nsenter.cfg new file +1
-0@@ -0,0 +1 @@ +CONFIG_NSENTER=yrecipes-core/busybox/busybox_virtualization.inc +1
-1@@ -7,4 +7,5 @@ SRC_URI += " \ file://mount-cifs.cfg \ file://ps-extras.cfg \ file://getopt.cfg \ + file://nsenter.cfg \ " --2.17.1