From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MAfoDUe2C2IPIgEAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 15:18:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2LJBC0e2C2InBQEA9RJhRA (envelope-from ) for ; Tue, 15 Feb 2022 15:18:47 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C91B930BA8 for ; Tue, 15 Feb 2022 15:18:46 +0100 (CET) Received: from localhost ([::1]:43794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJyfF-0001G9-Qy for larch@yhetil.org; Tue, 15 Feb 2022 09:18:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJyXm-0006sT-HF for guix-patches@gnu.org; Tue, 15 Feb 2022 09:11:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJyXl-0004Z7-SQ for guix-patches@gnu.org; Tue, 15 Feb 2022 09:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJyXl-0004uy-JA for guix-patches@gnu.org; Tue, 15 Feb 2022 09:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53912] [PATCH 3/5] system: image: Add wsl-tarball support. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Feb 2022 14:11: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: Alex Griffin , 53912@debbugs.gnu.org Received: via spool by 53912-submit@debbugs.gnu.org id=B53912.164493425318884 (code B ref 53912); Tue, 15 Feb 2022 14:11:01 +0000 Received: (at 53912) by debbugs.gnu.org; 15 Feb 2022 14:10:53 +0000 Received: from localhost ([127.0.0.1]:43866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJyXc-0004uW-S6 for submit@debbugs.gnu.org; Tue, 15 Feb 2022 09:10:53 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:1717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJyXb-0004uL-5M for 53912@debbugs.gnu.org; Tue, 15 Feb 2022 09:10:51 -0500 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Jyjfr12LMz1LBRv; Tue, 15 Feb 2022 15:10:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Jyjfr12LMz1LBRv DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1644934244; bh=yKApz3Y0wHuC2K9OK+i/h/6zFsMVC5PwLRQJ9SZ1+uQ=; h=Subject:From:To:Date:In-Reply-To:References:From; b=L4pwObpNVC1LKdyGWSuY2gV6T3AwCA8LFPIZ5gU18PBB2Bf68iyeNFozhTK3+LGNp i0Cg5FzU6PwLn0rM2KN79Mti9jkUPaekVhD3q941OHjLDLHBl5+XOG/FeG0HzExkih RzjJWGGMKijJeV18/LCsM0pWmSKbt/2/r6joG8/0= Message-ID: <53c41e580645a9c80bec2668b58fbd3f67c45e5c.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Tue, 15 Feb 2022 15:10:43 +0100 In-Reply-To: <87wni3ck2v.fsf@ajgrf.com> References: <87wni3ck2v.fsf@ajgrf.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644934727; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yKApz3Y0wHuC2K9OK+i/h/6zFsMVC5PwLRQJ9SZ1+uQ=; b=DZY4Ml6KU6kFVADIGURYUGj56cj1peLDhvR4mK03/usPA3xBAXV6pDCqbRhs/A5v0YXfVe EdFbkIbBjKdGfcwQdJ+U4aSgnZPwKbnmGPJb1FG4g3lhURj8sL9BN1CzgKyijowWy/+LE7 EuwrJRCopvbYthfC2ZYFofkFoVeAMMuSzrpw7A1mzpcbqmxWyk8nZGNZpT1DuSlQCeh0Mz vL3XVqOzSaWh5qs4Ev7H18m3EY8xcUoAlXePKcJ8iGYPZuRTlr6tOiK2dbiE78uPqhCMho NXl/w48z25RAcoOkCx15Jyds8ugtnFsm2IMp3ABzRko40EvC5N6wVAdiMOyUxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644934727; a=rsa-sha256; cv=none; b=WQG6u72KVd6cPvqMcX4wOX6PK3XXuwuqvmSC5f4K/cB6NeO2cUFyyNNtsCZG3rUpj/LTgy nClmfgizDp33y7iyCKERA4IuKgHSl57YjtrbwIptkstAKCJ3ZN72c4+r5WO1CHrSB3/7MG U3BXAO7xElqrRcW8x92nLBn3y7zYXbMi5TzG3n1iV2Ophvc5CHyPdB9SkAiFFWcA0gIhIF /SKi3iE1FO0MJB3zmNffNunqx4uceYHX3/MJskC3n26STgDeC8amowqMqzq33xTOz7+9TN fnvnP65DTKgGv/K9/H5F/LRfAD3+m3svkPAJml29haHGGojrriugBBukYNkATA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=L4pwObpN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=L4pwObpN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C91B930BA8 X-Spam-Score: -2.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: KYIFO2mQ6Hh+ Hi, Am Donnerstag, dem 10.02.2022 um 06:27 +0000 schrieb Alex Griffin: > This patch adds the wsl-tarball image type. The difference between > this and the plain tarball type is the creation of the symlinks at > /bin/sh and /bin/mount. > > These are necessary for the first boot to work after importing. We > can’t rely on special-files-service-type for this because the system > is not activated yet, and the /bin/sh symlink initiates the first > system activation. I don't think this ad-hoc hack "deserves" its own tarball type. Imagine WSL 3 requires /bin/ed besides /bin/sh and /bin/mount, then you'd need to add a wsl3-tarball-type, and so on and so forth. I think the correct way of implementing this would be to make image respect --symlink the way guix pack does. WDYT?