Commit graph

21 commits

Author SHA1 Message Date
Oskari Rauta
21d2575a95 podman: updates podman package
- add missing runtime depency catatonit
 - removed SELinux variant, add config option for it instead, I do not believe we need variant of EVERY SELinux support capable software
 - add config option for iptables firewall setup in default cni network config, otherwise skip iptables part (part of nftables transition, use cni-plugins-nft for nftables fw support or better; forget about cni fw completely, instead use openwrt's own as that way your rules for containers do not disappear on firewall restart)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-16 19:39:06 -07:00
Oskari Rauta
c36c8ed94c podman: update to version 4.0.2
- Patch had became obsolete, it's contents were merged to upstream. Patch removed.
 - Version updated, long list of changes is available at https://github.com/containers/podman/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-02 16:31:08 -08:00
Oskari Rauta
5ff3b25509 podman: update to v3.4.4
list of changes: https://github.com/containers/podman/releases

Added patch for compiling with musl. Patch can be removed on next
release as it is already merged to podman git but not on this release.
Patch moves definition in source so definition is available before it
is being used.

Patch source: https://github.com/containers/podman/pull/12564

Patch re-created with quilt.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-12-16 10:15:51 +01:00
Oskari Rauta
b011f3faf8 podman: update to 3.4.2
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-11-24 19:39:44 +00:00
Oskari Rauta
3e5761d6cd podman: update to 3.4.1
A lot of changes since 3.3.1.

Full (long) lists of release notes between
versions are available at
https://github.com/containers/podman/releases

containers.conf updated

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-11-05 07:23:33 +01:00
Huangbin Zhan
e6e770b268 treewide: fix broken conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2021-10-27 23:18:42 -07:00
W. Michael Petullo
416eced174 podman: update to 3.3.1
Earlier versions of podman did not make use of TMPDIR when running "podman
run ...". Podman's default, /var/tmp, presents a problem to rootless
use since OpenWrt's /var/tmp does not permit writes by non-root users.
Podman 3.3.1 makes full use of TMPDIR.

This is part of an attempt to get rootless podman to work on OpenWrt.
See https://github.com/openwrt/packages/issues/15096.

See also the upstream issue at
https://github.com/containers/podman/issues/10698.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-09-14 20:16:45 -07:00
W. Michael Petullo
a41556af4f podman: change permissions on /usr/share/containers/seccomp.json
Running podman as users other than root seems to require that those
users can read /usr/share/containers/seccomp.json. This change sets the
permissions on that file to match those used on Fedora.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-06-16 22:08:01 -05:00
Oskari Rauta
e565bebf41 podman: update to 3.2.0
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-06-08 02:57:50 +03:00
W. Michael Petullo
f51ef46aa6 podman: change permissions on /etc/containers
Running podman as users other than root seems to require that those
users can read the configuration files in /etc/containers. This change
sets the permissions of /etc/containers and its contents to match those
used on Fedora.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-05-22 14:15:05 +01:00
Oskari Rauta
b6299c763a podman: bumb version to 3.1.2
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-05-18 12:30:31 +03:00
Oskari Rauta
5bb8844fe3 podman: update to 3.1.1
- Add support for AppArmor
 - Gracefully stop containers and pods on shutdown

I found out that If you change location of containers to persistent storage instead of tmpfs, starting them will fail unless they have been stopped. If this is the case that reboot has occurred before pods and containers have been stopped, they cannot be started, they have to be removed and re-created. Change in initscript tries to avoid that. Even if containers are running at tmpfs, this won't hurt. Still, if something happens and system hangs/reboots/etc, script won't save you from that. It's just a attempt to make things better.
I also enabled AppArmor support for future possibilities.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-04-21 04:38:35 +03:00
Oskari Rauta
abce423851 podman: Add selinux variant and several improvements
* add -selinux variant which depends on libselinux
* init script for background service
* updated configurations
* maintainer change as requested

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-03-31 00:55:45 +01:00
Daniel Golle
954be76e6a podman: add 'crun' to containers.conf
Now that 'crun' has been packaged, add support for it in podman.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-30 00:21:29 +01:00
Daniel Golle
3c758231cb podman: update to version 3.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-27 02:46:13 +00:00
Daniel Golle
83d81616c5 podman: fix build on MIPS
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-15 23:37:57 +00:00
Daniel Golle
58449afd38 podman: update to version 2.2.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-12-15 18:23:18 +00:00
Daniel Golle
ed426fb951
podman: improve packaging
* keep /etc/containers accross sysupgrade
* make 'runc' the default run-time for now

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-22 03:52:28 +00:00
Daniel Golle
75cb9949b7 podman: ship storage.conf and use runc by default for now
Ship podman with defaults more coherent with user expectations and
more likely to work out-of-the-box.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-19 18:00:43 +00:00
Daniel Golle
cb45a0d268 podman: set PKG_USE_MIPS16:=0
podman fails to compile due to MIPS16 instructions somehow.
Disable use of MIPS16.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-11 11:05:26 +00:00
Daniel Golle
3b98ca2fcf podman: add new package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00