From patchwork Thu Dec 16 13:06:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 35268 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 CE2C927BBEA; Thu, 16 Dec 2021 13:09:01 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 8905827BBE9 for ; Thu, 16 Dec 2021 13:09:01 +0000 (GMT) Received: from localhost ([::1]:50552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxqVI-0005mt-HK for patchwork@mira.cbaines.net; Thu, 16 Dec 2021 08:09:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxqUN-0005l7-0P for guix-patches@gnu.org; Thu, 16 Dec 2021 08:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxqUM-0004aW-Hh for guix-patches@gnu.org; Thu, 16 Dec 2021 08:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxqUM-0006fd-E6 for guix-patches@gnu.org; Thu, 16 Dec 2021 08:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52550] [PATCH 02/10] image: Add a shared-store? field. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Dec 2021 13:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52550 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52550@debbugs.gnu.org Cc: Mathieu Othacehe Received: via spool by 52550-submit@debbugs.gnu.org id=B52550.163966002825467 (code B ref 52550); Thu, 16 Dec 2021 13:08:02 +0000 Received: (at 52550) by debbugs.gnu.org; 16 Dec 2021 13:07:08 +0000 Received: from localhost ([127.0.0.1]:34969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxqTT-0006ce-3h for submit@debbugs.gnu.org; Thu, 16 Dec 2021 08:07:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxqTO-0006bW-6M for 52550@debbugs.gnu.org; Thu, 16 Dec 2021 08:07:03 -0500 Received: from [2001:470:142:3::e] (port=33780 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxqTI-0004Mw-VO for 52550@debbugs.gnu.org; Thu, 16 Dec 2021 08:06:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=sNmSb9HWUSgWR73dlxSRSBJPlXugTLI7+fsOU2jFwXo=; b=TqiCV/jQdsaLRPNZZm50 sfeXK0MQN/q3C+pnYtgNpzmhqTZXf2w6H7t/RwfsIbrGgW0DB9niqIEo+KEm4cVcXG4gP1VUgJmCp i8AAeg29d/WtjuTBl59JMEJRTwYlGHZq9IHgd6IuJmLbcESYpmJ1lMtROMeJxhaLzDEcQBVpM6RQX 73G7K6hBbTDla1n1aoHQDsk71Tj/5fyXz9dABGKr8ybWONnBC1Yp0bTfuV1FOtHvAPs3LHBj4HEjh PlO2alYF6qwlSjF7hZHiTWG+dPX3aiB9EHKVLi6wRl2U91GsF3+l+GUWADOlD5pd4WZaHBqbAG+Pf 0q5nZlLnon69cw==; Received: from [2a01:e0a:19b:d9a0:2f3b:16f2:b776:3ef9] (port=57550 helo=localhost.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxqTI-0003iQ-UD; Thu, 16 Dec 2021 08:06:57 -0500 From: Mathieu Othacehe Date: Thu, 16 Dec 2021 14:06:41 +0100 Message-Id: <20211216130649.30285-2-othacehe@gnu.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211216130649.30285-1-othacehe@gnu.org> References: <20211216130649.30285-1-othacehe@gnu.org> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/image.scm ()[shared-store?]: New field. --- gnu/image.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/image.scm b/gnu/image.scm index 1c954af8cf..8423cf1d9c 100644 --- a/gnu/image.scm +++ b/gnu/image.scm @@ -42,6 +42,7 @@ (define-module (gnu image) image-partitions image-compression? image-volatile-root? + image-shared-store? image-substitutable? image-type @@ -95,6 +96,8 @@ (define-record-type* (default #t)) (volatile-root? image-volatile-root? ;boolean (default #t)) + (shared-store? image-shared-store? ;boolean + (default #f)) (substitutable? image-substitutable? ;boolean (default #t)))