From patchwork Thu Sep 8 15:25:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 939 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 55EC827BBEA; Thu, 8 Sep 2022 16:26:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 17ADA27BBE9 for ; Thu, 8 Sep 2022 16:26:51 +0100 (BST) Received: from localhost ([::1]:41762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWJQY-0005Rz-91 for patchwork@mira.cbaines.net; Thu, 08 Sep 2022 11:26:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWJPm-0004o7-FK for guix-patches@gnu.org; Thu, 08 Sep 2022 11:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWJPm-0006u7-6W for guix-patches@gnu.org; Thu, 08 Sep 2022 11:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oWJPl-0006Eh-TT for guix-patches@gnu.org; Thu, 08 Sep 2022 11:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57680] [PATCH 0/2] image: Add tarball support. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Sep 2022 15:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57680 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57680@debbugs.gnu.org Cc: Mathieu Othacehe X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166265074723937 (code B ref -1); Thu, 08 Sep 2022 15:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Sep 2022 15:25:47 +0000 Received: from localhost ([127.0.0.1]:59898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWJPX-0006E1-13 for submit@debbugs.gnu.org; Thu, 08 Sep 2022 11:25:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:33004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oWJPV-0006Ds-0U for submit@debbugs.gnu.org; Thu, 08 Sep 2022 11:25:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWJPU-0004av-SB for guix-patches@gnu.org; Thu, 08 Sep 2022 11:25:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWJPU-0006ru-Jz for guix-patches@gnu.org; Thu, 08 Sep 2022 11:25:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=bLc8pk4P2hmxXWvEHBLmnlXgNrkO8Smy/sCzbGVZJ48=; b=seIfFJpekkfpO/ br5+S884wjg2dNRLZ8SBzayLiX1zwYLdbLRzgdgWJQcCUmnjLsWpk6b8gzO9CqvUygEnabO11MBXL Jd8HgCOTduvRpDCfXl8CbI1UfW08oV/DgglCSfAeSqk3CJQNqMuVRPK+4lU8Sg2f3UxgQA9Tqm5tu DT8W8RCWrMViILUPfBYH3kzbxNNoy2XuYIsu5/OU0pVveKVraRTNs4+mJt/EgGxE4gG/R7q4WUCzE i5tGg8yYnEdRfyx59BRxblHhvXICGFee3FJfRgto7JvmJD2iGPRnHq5yhXBlnV8/5o8m7bVWnR/UB hiB+fVpyejzMtb1yWDMA==; Received: from [2a02:587:ac08:6f00:6fbe:4f6e:9429:a4d] (port=48930 helo=meije.lan) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWJP7-00020v-88; Thu, 08 Sep 2022 11:25:39 -0400 From: Mathieu Othacehe Date: Thu, 8 Sep 2022 17:25:12 +0200 Message-Id: <20220908152512.6589-1-othacehe@gnu.org> X-Mailer: git-send-email 2.37.2 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 Hello, Here's some preliminary work to get https://issues.guix.gnu.org/53912 merged and provide WSL2 image support. I added a (guix compression) module so that (guix system image) can benefit from it. Thanks, Mathieu Alex Griffin (1): system: image: Add tarball support. Mathieu Othacehe (1): guix: Add compression module. Makefile.am | 1 + gnu/image.scm | 2 +- gnu/system/image.scm | 82 ++++++++++++++++++++++++++++++++++++++++++- guix/compression.scm | 69 ++++++++++++++++++++++++++++++++++++ guix/scripts/pack.scm | 46 ++---------------------- 5 files changed, 154 insertions(+), 46 deletions(-) create mode 100644 guix/compression.scm