From patchwork Thu Feb 10 06:35:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Griffin X-Patchwork-Id: 37160 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 4BDE427BBEA; Thu, 10 Feb 2022 06:52:24 +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=-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 0C76D27BBE9 for ; Thu, 10 Feb 2022 06:52:24 +0000 (GMT) Received: from localhost ([::1]:45508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nI3JW-0004TE-UN for patchwork@mira.cbaines.net; Thu, 10 Feb 2022 01:52:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI33i-0000kn-1s for guix-patches@gnu.org; Thu, 10 Feb 2022 01:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nI33h-00062q-Os for guix-patches@gnu.org; Thu, 10 Feb 2022 01:36:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nI33h-0003xH-Nr for guix-patches@gnu.org; Thu, 10 Feb 2022 01:36:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53912] [PATCH 5/5] image: Add wsl image. References: <875ypndznv.fsf@ajgrf.com> In-Reply-To: <875ypndznv.fsf@ajgrf.com> Resent-From: Alex Griffin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 06:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53912 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53912@debbugs.gnu.org Received: via spool by 53912-submit@debbugs.gnu.org id=B53912.164447495915185 (code B ref 53912); Thu, 10 Feb 2022 06:36:01 +0000 Received: (at 53912) by debbugs.gnu.org; 10 Feb 2022 06:35:59 +0000 Received: from localhost ([127.0.0.1]:53452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI33e-0003wq-Vy for submit@debbugs.gnu.org; Thu, 10 Feb 2022 01:35:59 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:24202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI33c-0003wR-Er for 53912@debbugs.gnu.org; Thu, 10 Feb 2022 01:35:58 -0500 Date: Thu, 10 Feb 2022 06:35:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; s=protonmail; t=1644474949; bh=9+MSnxsOao+njcPqpUV0J/3AYk4DWcwdkwlhqoHm3Go=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID; b=g7qlCTjRTxVMLy0m4G24nPFqhtLVnSe+E9+HKG/AZsCChPZtEUuIjKQWmlQBwvYqM WG0Tg0JmUJSRidSsewGDqeyjpRl4lSibdm+l63qMGa9yNObm0WKvuMjNeXuL8MEKqW rLV2Y7QrY6JluDvQm7zeXT5HucGz2s444DCKT3GgXynU/83iJuaZkcsusdeOnMO7Pg o9meJeWrSd/eIp8mzBvjA5+joFIEL2pYKXPXRt65aPNVVHYXJoFOCH0feBjk95VJRv Bm4hvPF49iSlGJgN3XHzPKS5CPFaB+oMGx5i3UJwuuOKDMd9hVOLG+ePC1mNqBUKS6 Ec32L4fYd/EyA== Message-ID: <87tud7cjpg.fsf@ajgrf.com> 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" Reply-to: Alex Griffin X-ACL-Warn: , Alex Griffin via Guix-patches X-Patchwork-Original-From: Alex Griffin via Guix-patches via From: Alex Griffin X-getmail-retrieved-from-mailbox: Patches This patch adds the wsl system image. Generate it with guix system image gnu/system/images/wsl.scm Thanks, – Alex Griffin From 65f58dae36f25c4bcb64f4b75060a2635aab7fa2 Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Wed, 9 Feb 2022 23:04:04 -0600 Subject: [PATCH 5/5] image: Add wsl image. * gnu/system/images/wsl.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/system/images/wsl.scm | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 gnu/system/images/wsl.scm diff --git a/gnu/local.mk b/gnu/local.mk index fecde5b4dd..41f0d14c42 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -708,6 +708,7 @@ GNU_SYSTEM_MODULES = \ %D%/system/images/pine64.scm \ %D%/system/images/pinebook-pro.scm \ %D%/system/images/rock64.scm \ + %D%/system/images/wsl.scm \ \ %D%/machine.scm \ \ diff --git a/gnu/system/images/wsl.scm b/gnu/system/images/wsl.scm new file mode 100644 index 0000000000..c4ad4a7c27 --- /dev/null +++ b/gnu/system/images/wsl.scm @@ -0,0 +1,31 @@ +;;; Copyright © 2022 Alex Griffin +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu system images wsl) + #:use-module (gnu image) + #:use-module (gnu system image) + #:use-module (gnu system wsl) + #:export (wsl-tarball-image)) + +(define wsl-tarball-image + (image + (inherit + (os->image wsl-os + #:type wsl-tarball-image-type)) + (name 'wsl-tarball-image))) + +wsl-tarball-image -- 2.34.0