public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/podman/
Date: Sat, 26 Mar 2022 01:41:54 +0000 (UTC)	[thread overview]
Message-ID: <1648258910.09749f23e7eb708f0f26c57a47cbb899595ffe99.zmedico@gentoo> (raw)

commit:     09749f23e7eb708f0f26c57a47cbb899595ffe99
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 01:39:06 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 01:41:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09749f23

app-containers/podman: add cgroup-hybrid USE flag

Closes: https://bugs.gentoo.org/763267
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-containers/podman/metadata.xml        | 3 +++
 app-containers/podman/podman-3.4.4.ebuild | 5 +++--
 app-containers/podman/podman-4.0.2.ebuild | 5 +++--
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/app-containers/podman/metadata.xml b/app-containers/podman/metadata.xml
index 844d5c0dcd45..11d7dc7603dc 100644
--- a/app-containers/podman/metadata.xml
+++ b/app-containers/podman/metadata.xml
@@ -22,6 +22,9 @@
 			Enables dependencies for the "btrfs" graph driver, including
 			necessary kernel flags.
 		</flag>
+		<flag name="cgroup-hybrid">
+			Default to hybrid (legacy) cgroup hierarchy instead of unified (modern).
+		</flag>
 		<flag name="fuse">
 			Enables fuse dependencies (fuse-overlayfs is especially useful
 			for rootless mode).

diff --git a/app-containers/podman/podman-3.4.4.ebuild b/app-containers/podman/podman-3.4.4.ebuild
index f6e9ac8b1006..d9c90056d70c 100644
--- a/app-containers/podman/podman-3.4.4.ebuild
+++ b/app-containers/podman/podman-3.4.4.ebuild
@@ -15,13 +15,14 @@ LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
 SLOT="0"
 
 KEYWORDS="amd64 arm64 ~ppc64 ~riscv"
-IUSE="apparmor btrfs +fuse +rootless selinux"
+IUSE="apparmor btrfs +cgroup-hybrid +fuse +rootless selinux"
 RESTRICT+=" test"
 
 COMMON_DEPEND="
 	app-crypt/gpgme:=
 	>=app-containers/conmon-2.0.0
-	|| ( >=app-containers/runc-1.0.0_rc6 app-containers/crun )
+	cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6  )
+	!cgroup-hybrid? ( app-containers/crun )
 	dev-libs/libassuan:=
 	dev-libs/libgpg-error:=
 	>=net-misc/cni-plugins-0.8.6

diff --git a/app-containers/podman/podman-4.0.2.ebuild b/app-containers/podman/podman-4.0.2.ebuild
index d5e19cc828de..62f957b6252a 100644
--- a/app-containers/podman/podman-4.0.2.ebuild
+++ b/app-containers/podman/podman-4.0.2.ebuild
@@ -15,13 +15,14 @@ LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
 SLOT="0"
 
 KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
-IUSE="apparmor btrfs +fuse +init +rootless selinux"
+IUSE="apparmor btrfs cgroup-hybrid +fuse +init +rootless selinux"
 RESTRICT+=" test"
 
 COMMON_DEPEND="
 	app-crypt/gpgme:=
 	>=app-containers/conmon-2.0.0
-	|| ( app-containers/crun >=app-containers/runc-1.0.0_rc6 )
+	cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6  )
+	!cgroup-hybrid? ( app-containers/crun )
 	dev-libs/libassuan:=
 	dev-libs/libgpg-error:=
 	>=net-misc/cni-plugins-0.8.6


             reply	other threads:[~2022-03-26  1:41 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-26  1:41 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13 23:23 [gentoo-commits] repo/gentoo:master commit in: app-containers/podman/ Zac Medico
2024-10-31  3:56 Zac Medico
2024-10-24 19:53 Zac Medico
2024-10-16  2:12 Sam James
2024-10-11 21:59 Zac Medico
2024-08-22  8:55 WANG Xuerui
2024-08-22  8:55 WANG Xuerui
2024-06-13 19:10 Zac Medico
2024-05-26 23:31 Zac Medico
2024-05-12 20:49 Zac Medico
2024-04-18  4:12 Zac Medico
2024-04-18  4:12 Zac Medico
2024-04-01 16:06 Zac Medico
2024-03-31 23:51 Zac Medico
2024-03-31 19:07 Arthur Zamarin
2024-03-31 16:47 Jakov Smolić
2024-03-27  3:02 Zac Medico
2024-03-23  8:29 Sam James
2024-03-16 23:35 Zac Medico
2024-03-15 19:47 Sam James
2024-03-15 19:28 Sam James
2024-03-08  3:25 Zac Medico
2024-03-07  2:28 Zac Medico
2024-03-02 23:47 Andreas K. Hüttel
2024-02-28  9:12 Florian Schmaus
2024-02-15  5:15 Zac Medico
2024-02-10  5:04 Zac Medico
2024-02-10  4:15 Zac Medico
2024-02-08  3:17 Zac Medico
2024-02-02  6:37 Zac Medico
2024-01-08  8:13 Zac Medico
2024-01-04 10:02 Sam James
2024-01-04 10:02 Sam James
2024-01-03 18:19 Zac Medico
2024-01-03 18:19 Zac Medico
2023-12-18  5:36 Zac Medico
2023-12-18  5:36 Zac Medico
2023-12-06  6:35 Zac Medico
2023-12-06  6:35 Zac Medico
2023-11-28  5:32 Arthur Zamarin
2023-11-28  5:32 Arthur Zamarin
2023-11-28  3:16 Zac Medico
2023-11-22  5:21 Zac Medico
2023-11-02  2:13 Zac Medico
2023-10-31 17:19 Mike Gilbert
2023-10-06  3:58 Zac Medico
2023-09-27 15:00 Yixun Lan
2023-09-25  4:48 Sam James
2023-09-25  3:45 Zac Medico
2023-09-25  3:45 Zac Medico
2023-06-10  4:20 Sam James
2023-06-09 18:09 Arthur Zamarin
2023-05-09  5:16 Zac Medico
2023-03-22  1:20 Sam James
2023-02-18  1:15 Zac Medico
2023-01-06 22:34 Zac Medico
2023-01-06 22:23 Sam James
2023-01-06 20:03 Arthur Zamarin
2022-11-22  1:19 Zac Medico
2022-10-20  0:03 Zac Medico
2022-10-07 23:23 Zac Medico
2022-09-18 23:47 Zac Medico
2022-08-15 19:28 Sam James
2022-08-12 20:01 Zac Medico
2022-06-18 20:36 Zac Medico
2022-06-05 15:13 Zac Medico
2022-06-04 19:51 Jakov Smolić
2022-06-03 21:30 Jakov Smolić
2022-05-07 16:10 Zac Medico
2022-04-10 17:09 Zac Medico
2022-04-09 21:32 Jason Zaman
2022-04-09 19:47 Arthur Zamarin
2022-04-07 20:58 Jakov Smolić
2022-04-01 17:55 Zac Medico
2022-03-25  4:01 Zac Medico
2022-03-25  3:53 Zac Medico
2022-03-25  3:01 Zac Medico
2022-03-25  2:43 Zac Medico
2022-03-10  3:22 Yixun Lan
2022-03-05 18:56 Zac Medico
2022-02-25  9:25 Yixun Lan
2022-02-24  3:03 Zac Medico
2022-02-18 18:46 Zac Medico
2021-12-27  3:30 Zac Medico
2021-12-25 17:28 Arthur Zamarin
2021-12-25  1:00 Sam James
2021-12-24 22:34 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1648258910.09749f23e7eb708f0f26c57a47cbb899595ffe99.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox