busybox: Add nsenter for podman runtime
PATCH v2 1/2 busybox: Add nsenter for podman runtime
From: Nathan Dunne <[email protected]>
Add nsenter to Busybox configuration as it is required by Podman at runtime
Issue-Id: SCM-2355
--- 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 v2 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
Issue-Id: SCM-2355
--- 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 v2 2/2] podman: Added kernel modules for iptables error
What's the delta in v2 from v1 ? It wasn't immediately obvious to me.
Bruce
Quoted 31 lines · Nathan Dunne
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
Issue-Id: SCM-2355
Signed-off-by Nathan Dunne <[email protected]>Change-Id If806a6802352b2658a695bf5265c1ead82fe3248--- recipes-containers/podman/podman_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-containers/podman/podman_git.bb +1
-2@@ -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
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Re: [PATCH v2 2/2] podman: Added kernel modules for iptables error
Just the commit message on the first patch in the chain as suggested by Bertrand
Nathan
Re: [meta-virtualization] [PATCH v2 2/2] podman: Added kernel modules for iptables error
In reply to Bruce AshfieldHi Bruce,
Quoted 3 lines · Bruce Ashfield via lists.yoctoproject.org
What's the delta in v2 from v1 ? It wasn't immediately obvious to me.
Nathan added a commit message to the first patch.
Cheers
Bertrand
Quoted 43 lines
Bruce
Quoted 31 lines · Nathan Dunne
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
Issue-Id: SCM-2355
Signed-off-by Nathan Dunne <[email protected]>Change-Id If806a6802352b2658a695bf5265c1ead82fe3248---
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.1Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Hi,
I've accidentally included the Issue-Id and Change-Id tags in v2 of these patches, can they be removed on merge or should I submit a v3?
Thanks,
Nathan
In message: Re: [meta-virtualization] [PATCH v2 1/2] busybox: Add nsenter for podman runtime
Quoted 4 lines · on 15/04/2021 Nathan Dunne wrote:
Hi,
I've accidentally included the Issue-Id and Change-Id tags in v2 of these patches, can they be removed on merge or should I submit a v3?
I edited the patches are part of my normal flow and dropped the tracking IDs.
But thanks for noticing and following up!
Bruce
Quoted 7 lines
Thanks,
Nathan
Hi Bruce,
Could these two patches for podman also be backported to Hardknott please?
Thanks,
Nathan
Quoted 5 lines · Nathan Dunne
Hi Bruce,
Could these two patches for podman also be backported to Hardknott please?
they should be there, I cherry picked them last night.
... but now that I go look, I see I didn't push them.
All good now.
Bruce
Quoted 4 lines
Thanks,
Nathan
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II