From patchwork Tue Jun 4 20:51:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 14222 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 49E36170A1; Tue, 4 Jun 2019 21:55:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 041211709F for ; Tue, 4 Jun 2019 21:55:29 +0100 (BST) Received: from localhost ([127.0.0.1]:57918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYGSu-0002Gr-Hf for patchwork@mira.cbaines.net; Tue, 04 Jun 2019 16:55:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYGQa-0000AK-K2 for guix-patches@gnu.org; Tue, 04 Jun 2019 16:53:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYGQZ-0000mG-Kt for guix-patches@gnu.org; Tue, 04 Jun 2019 16:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60555) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYGQZ-0000m4-HF for guix-patches@gnu.org; Tue, 04 Jun 2019 16:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYGQZ-0005oT-E2 for guix-patches@gnu.org; Tue, 04 Jun 2019 16:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36093] [PATCH 0/2] 'guix pack --entry-point' and Singularity service Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Jun 2019 20:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36093 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36093@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155968153722287 (code B ref -1); Tue, 04 Jun 2019 20:53:03 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jun 2019 20:52:17 +0000 Received: from localhost ([127.0.0.1]:45865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYGPp-0005nO-34 for submit@debbugs.gnu.org; Tue, 04 Jun 2019 16:52:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYGPn-0005nB-55 for submit@debbugs.gnu.org; Tue, 04 Jun 2019 16:52:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:53038) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hYGPh-0007w2-Ta for submit@debbugs.gnu.org; Tue, 04 Jun 2019 16:52:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYGPf-0007pu-TV for guix-patches@gnu.org; Tue, 04 Jun 2019 16:52:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYGPf-0007sC-Dq; Tue, 04 Jun 2019 16:52:07 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53528 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hYGPe-0002Cl-Ky; Tue, 04 Jun 2019 16:52:07 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Tue, 4 Jun 2019 22:51:51 +0200 Message-Id: <20190604205151.24258-1-ludo@gnu.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 Hello, This patch adds a ‘--entry-point’ flag to ‘guix pack’, which I think is long overdue. It also adds a Singularity service whose primary purpose is to allow us to test ‘guix pack -f squashfs’. (It would be nice to have Singularity 3.x for testing purposes.) Thoughts? Ludo’. Ludovic Courtès (2): services: Add Singularity. pack: Add '--entry-point'. doc/guix.texi | 36 +++++++++- gnu/local.mk | 1 + gnu/packages/linux.scm | 10 ++- gnu/services/docker.scm | 53 ++++++++++++++- gnu/tests/docker.scm | 19 ++++-- gnu/tests/singularity.scm | 137 ++++++++++++++++++++++++++++++++++++++ guix/scripts/pack.scm | 41 ++++++++++++ 7 files changed, 285 insertions(+), 12 deletions(-) create mode 100644 gnu/tests/singularity.scm