From patchwork Mon Jan 6 15:04:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 36685 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 329F727BBE9; Mon, 6 Jan 2025 15:06:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1C3F627BBE2 for ; Mon, 6 Jan 2025 15:06:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUog8-0000Re-H0; Mon, 06 Jan 2025 10:06:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUog7-0000RM-43 for guix-patches@gnu.org; Mon, 06 Jan 2025 10:06:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUog6-0002EE-B9 for guix-patches@gnu.org; Mon, 06 Jan 2025 10:06:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=kBKQfrKcUgH+g9XVrxX1JAKVO+ekm/OKq1tFmmd6NuI=; b=t0d/AsA54ATuzMI59RRhh+uZ1nq6W4iSrFTj0j6Ln4faX/t70I4G2fByrAzCkjDyu6s+sn4K9ajSqo9mos62cWX0pceIuVDjgzVMFOhuENblRJ9GJAXwXOcBp1u1ATN7Cp7PjynbjTkp9PONSQHYVFVBtbRkKZ+X3gIPT355txyz5gMjNDo0HDW9th9B056k/zsGBM0xinbAvSjSE3JiiFT85UdS6PPZiKa4hUdAzi8Hcw8qDXgFso3ZFbzbwZJv4KcyP39H2+aAU2jB9zVbXfMjGcZqYV8mxkiqdhgkG0U0HVpBg2DTIeroih/WNLmOcraJdyUvcjiIekaHJ3xMkg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUog5-0001Rl-Tx for guix-patches@gnu.org; Mon, 06 Jan 2025 10:06:01 -0500 Subject: bug#74955: [PATCH] services: rootless-podman-service-type: Allow not installing podman. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 06 Jan 2025 15:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74955 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf <~@wolfsden.cz> Cc: Giacomo Leidi , 74955-done@debbugs.gnu.org, Maxim Cournoyer Mail-Followup-To: 74955@debbugs.gnu.org, ludo@gnu.org, ~@wolfsden.cz Received: via spool by 74955-done@debbugs.gnu.org id=D74955.17361759075128 (code D ref 74955); Mon, 06 Jan 2025 15:06:01 +0000 Received: (at 74955-done) by debbugs.gnu.org; 6 Jan 2025 15:05:07 +0000 Received: from localhost ([127.0.0.1]:39626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUofC-0001Kc-6t for submit@debbugs.gnu.org; Mon, 06 Jan 2025 10:05:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46442) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUof8-0001Jw-CF for 74955-done@debbugs.gnu.org; Mon, 06 Jan 2025 10:05:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUof1-0001fA-FM; Mon, 06 Jan 2025 10:04:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=kBKQfrKcUgH+g9XVrxX1JAKVO+ekm/OKq1tFmmd6NuI=; b=b4PKvQwHHxNt5RJ5ebZm lEK97Z7n3bkybPVh0O19z6b2OTHW3YdjQ3Q1ZV2zy1s2i7OWQm3cEzlnZpY+WrvwxayCDEnxqigg4 UTLYgBKTswUCRG9aor3rFAUigNzwB+SBpTmLy5deK/h9kL5vP9TpbPCWg+OdLw1xoZrj/ODTSL1mW sIzZF1DB++MjV6Xo8X/T1Rt+SSoympw+tgATzb4xujTH+hV808BsfOxJjBB2e8N+yENSmi8i74NXi 7rEZbytEmOdnxJKEHoUxpbGtT+skoo7pk8VAL5UYPFARwr4xiSBCj5XJKQe8aT00Ur/mahfx3qOvS ruEgBoxCnFgQlQ==; From: Ludovic =?utf-8?q?Court=C3=A8s?= In-Reply-To: (Tomas Volf's message of "Thu, 19 Dec 2024 01:11:03 +0100") References: Date: Mon, 06 Jan 2025 16:04:49 +0100 Message-ID: <874j2c7zla.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Tomas Volf <~@wolfsden.cz> skribis: > Sometimes you would want to skip on actually installing the podman package in > order to save disk space and bandwidth. Even without installing it globally, > podman can still be fetched via guix shell when required. > > * gnu/services/containers.scm (package-or-#f?): New procedure. > (rootless-podman-configuration): Change type to package-or-#f. > (rootless-podman-service-profile): Produce empty list if not podman package. > * doc/guix.texi (Miscellaneous Services): Document the change. > > Change-Id: If533d913ea190558ce7e206d98ada4d805270594 Applied with the change below. Thanks everyone! Ludo'. diff --git a/doc/guix.texi b/doc/guix.texi index 22cea4e5d2..caebe3b03c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -41424,9 +41424,9 @@ Miscellaneous Services Available @code{rootless-podman-configuration} fields are: @table @asis -@item @code{podman} (default: @code{podman}) (type: package-of-#f) +@item @code{podman} (default: @code{podman}) (type: package-or-#f) The Podman package that will be installed in the system profile. -@code{#f} can be passed to suppress the installation. +Pass @code{#f} to not install Podman. @item @code{group-name} (default: @code{"cgroup"}) (type: string) The name of the group that will own /sys/fs/cgroup resources. Users that