From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GL24F+sWj2D0EwAAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 23:17:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 5K9PE+sWj2BLAgAAB5/wlQ (envelope-from ) for ; Sun, 02 May 2021 21:17:31 +0000 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 848E4B143 for ; Sun, 2 May 2021 23:17:30 +0200 (CEST) Received: from localhost ([::1]:39980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldJSz-0008Bg-OV for larch@yhetil.org; Sun, 02 May 2021 17:17:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldJSf-0008BE-BY; Sun, 02 May 2021 17:17:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40045) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldJSd-0001rS-Qc; Sun, 02 May 2021 17:17:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47498 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ldJSd-0006rw-9g; Sun, 02 May 2021 17:17:07 -0400 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH] maint: Do not xz-compress ISO images. Date: Sun, 2 May 2021 23:16:48 +0200 Message-Id: <20210502211648.5830-1-ludo@gnu.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <87im462lc9.fsf@latte.josefsson.org> References: <87im462lc9.fsf@latte.josefsson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Maxim Cournoyer Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619990250; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=UZWgx57dcLgNz+/i7YMW5dNHbH8B30urrdXfU2puk1A=; b=g8fS9EL0qKwCTk0hB5nykgTIv2Mi6jMXmnZprgN5nRuyv0zz14IPmkflKz+593ibfh5dfv 8w2yw1RqFCVm4f5BMApAKHAYXpdtGsPwex8CdTLP+jwUcaxlLve0e/QlroPms4Y71R2Rqm 16YsoQTZBnYmOH5vn2prkIguL4aU2VgFHv/Wao+C1HH7lAtwLx+R0EgE9M4etb+uS2RsqB pf8FwjMZHy4G/1VcFb+kVW63AC+b+DCV2+EygtXQlGDsSoyWq5ZLmh+zEM4zHopfIvJuzU YtMKslkFD2Dpln6oF2brqPeJv+4pILKNGRg4VuuJRSy1l+WV5hK90wdx6IWG5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619990250; a=rsa-sha256; cv=none; b=kxEONMElzy2R490mOLoTSodPLH+ryeXPFVz/kMeyCWxtayo/zdfiASmGXgI+pJIaCkzx4f uPWstvc/HCWkWPnUoHn/k6Ea/A3sEZsBkMlNQ1xYVgD4MwIYPiMEH7F27e5OGOk2/dAxBJ X223d2aIFM4Ge/9wvb+YsLs2KJXkOnJ4OhmRNIs3B/BT0ES1g+TYVoAHuld6nS9esaTZe5 oEoWP/8dxGKYWzmCNVcmvqta5v2Zbg1bPnhWQFwqQyjEi0gIxNu87Ew557Ml3HXHFHlT8r WPXdQ8N+6/6IB526nM9IguRDqZnx11wOTGIXkrqNX+NjtY4YcGa4LKuOvkx1Xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 848E4B143 X-Spam-Score: -1.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: uRSH3j/7pyy1 The xz-compressed image is 23% smaller than the original ISO image (with built-in zlib compression), but the extra decompression step is unconventional and often a hindrance for users. See discussion at . * Makefile.am (release): Do not compress ISO images. * doc/guix.texi (USB Stick and DVD Installation): Remove ".xz" suffix from URL and file name. (Copying to a USB Stick, Burning on a DVD): Remove introductory words, @enumerate, and first item. --- Makefile.am | 6 +++--- doc/guix.texi | 30 +++--------------------------- 2 files changed, 6 insertions(+), 30 deletions(-) Hi! This takes the simple step of providing plain ISOs only (rather than .iso + .iso.xz as some suggested). One advantage is that, unless I’m mistaken, this can be done without breaking string freeze. We’ll also have to update on the release day. Thoughts? Ludo’. diff --git a/Makefile.am b/Makefile.am index 8d059eb033..623b1c497f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -886,9 +886,9 @@ release: dist-with-updated-version all echo "failed to produced Guix installation image for $$system" >&2 ; \ exit 1 ; \ fi ; \ - xz < "$$image" > "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.xz.tmp" ; \ - mv "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.xz.tmp" \ - "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.xz" ; \ + cp "$$image" "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.tmp" ; \ + mv "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.tmp" \ + "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso" ; \ done # Generate the VM images. for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do \ diff --git a/doc/guix.texi b/doc/guix.texi index 2fe7ad3a2a..3460c58cbc 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -2099,7 +2099,7 @@ about their support in GNU/Linux. An ISO-9660 installation image that can be written to a USB stick or burnt to a DVD can be downloaded from -@indicateurl{@value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.xz}, +@indicateurl{@value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso}, where you can replace @code{x86_64-linux} with one of: @table @code @@ -2115,8 +2115,8 @@ Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines: @example -$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.xz.sig -$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.xz.sig +$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig +$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig @end example If that command fails because you do not have the required public key, @@ -2140,17 +2140,6 @@ It is meant to be copied @emph{as is} to a large-enough USB stick or DVD. @unnumberedsubsec Copying to a USB Stick -To copy the image to a USB stick, follow these steps: - -@enumerate -@item -Decompress the image using the @command{xz} command: - -@example -xz -d guix-system-install-@value{VERSION}.x86_64-linux.iso.xz -@end example - -@item Insert a USB stick of 1@tie{}GiB or more into your machine, and determine its device name. Assuming that the USB stick is known as @file{/dev/sdX}, copy the image with: @@ -2161,21 +2150,9 @@ sync @end example Access to @file{/dev/sdX} usually requires root privileges. -@end enumerate @unnumberedsubsec Burning on a DVD -To copy the image to a DVD, follow these steps: - -@enumerate -@item -Decompress the image using the @command{xz} command: - -@example -xz -d guix-system-install-@value{VERSION}.x86_64-linux.iso.xz -@end example - -@item Insert a blank DVD into your machine, and determine its device name. Assuming that the DVD drive is known as @file{/dev/srX}, copy the image with: @@ -2185,7 +2162,6 @@ growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-lin @end example Access to @file{/dev/srX} usually requires root privileges. -@end enumerate @unnumberedsubsec Booting -- 2.31.1