From unknown Thu Sep 11 21:35:45 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40514] Should we shrink the installer by a gig or so? Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Apr 2020 20:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40514@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.15863793913509 (code B ref -1); Wed, 08 Apr 2020 20:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Apr 2020 20:56:31 +0000 Received: from localhost ([127.0.0.1]:52944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMHkN-0000uX-Jo for submit@debbugs.gnu.org; Wed, 08 Apr 2020 16:56:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:57685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMHkM-0000uQ-8R for submit@debbugs.gnu.org; Wed, 08 Apr 2020 16:56:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42918) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMHkK-0002Tp-Ta for guix-patches@gnu.org; Wed, 08 Apr 2020 16:56:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMHkJ-0002F0-PI for guix-patches@gnu.org; Wed, 08 Apr 2020 16:56:28 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:56404) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMHkJ-0002Dk-7d for guix-patches@gnu.org; Wed, 08 Apr 2020 16:56:27 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 80744bff for ; Wed, 8 Apr 2020 20:56:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type; s=2018; i= me@tobias.gr; bh=8QsTngdweipLJnDQJOD5roeHvKdMUfGDSnaZ/rjf9Ys=; b= GJdoDnI72c9bkrP4m1Ss8xnYGMru8dIHQb4S/2IeXTQX88wZ2UvEr2sp8LM4p2TA OMQ3DtlLeR2ZrRdoC2VF3DMQzEWp1ghpvr6YKmC9bXV+v3Ikzt/3Qmtfyo8H13XK 13nDLWbK6WujPM4ImarpTmqela7TORajo1NpPUZ9775bFCXhw4Te9Mf0LDZmiIQu nuiGaonclIN2KmZoQ9qv4wgnUkPqMbwOLaTE7+RdWEUA5490P0mJe7TlUR+QxXg9 Ef5gRucQAy02ahLmZgk05Hd1cImNJHYTD0AfAyvuKiyJP/70osqi4PN85HMgCDfd Hguvio6Hq/HQxwRxss0dyQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id afc5932e (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Wed, 8 Apr 2020 20:56:24 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Wed, 08 Apr 2020 22:56:27 +0200 Message-ID: <87zhblofwk.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a02:c205:2020:6054::1 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Guix, I've met at least someone who was worried that Guix wouldn't=20 support their System =E2=80=98because the installer fell back to text=20 mode=E2=80=99. They didn't mean nomodeset: obviously a 1.5-GiB ISO must=20 be hiding a full desktop somewhere, not just the interface of a=20 text-mode netinstaller image about 2.5% its total size: $ du -h Downloads/trisquel-netinst_8.0_amd64.iso 37M =E2=80=A6 $ du -h /gnu/store/l005v0ssz34gz5mrg3vpr51sq8sry8wp-image.iso 1.5G =E2=80=A6 Now I'm not suggesting we add Gnome (yet), but how about reducing=20 the size by 60% for 1.1.0? du -h /gnu/store/jcpg5wsflpymiq3vx929wq2cr0qbw44f-image.iso 561M =E2=80=A6 Our CD image finally fits on a CD! Remember those? I try not to. It also fits onto the ~100 1-=E2=80=98GB=E2=80=99 USB drives I have in a bo= x and=20 can now finally give away as Guix installers. Zisofs is a somewhat obscure, Linux-specific extension to Rock=20 Ridge that transparently (de)compresses file data using zlib. Our=20 linux-libre already supports it. As far as the system is=20 concerned it's just a regular iso9660 file system. Unlike squashfs (with which I'm currently playing) it requires=20 zero further changes to the creation or boot process that could=20 introduce new bugs. Hence I'm hopeful that this can be tested and=20 merged in time for the next release. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl6OOnsACgkQ2Imw8BjF STyrKA//SwprnvDEbo6IPbbdgPDbd+Dz9apL4n1cDcNtBwv1uHOShMl8fEXkjWgC 4fG0dI/+VtXucVCSCG6hAIlgbo5O+3rncl+RenYkJg1VWqKBeSOgugSiNe7mFi2+ 3zl06jJVzUpwW4geQOWcNXGO32a0axSwFXc/LZLiC+Uf/rZmCSG976bXyHUMcyMx pjl4PzcdeaIRka4jkuqvt3+CQKPYKn5+czhoVZjZouV5VNfHDSafBkFWOr/ZjW4W bIbTpGLVWWNOJzHRWHz9LPKiPxeoDoLV7Vz1ZWmAf0m3HezGew4wk4zOk3nPifcx I2nFIfFAKD/zATNXtrnw3hjB61aWgEkG8PW4kLUhZRAS2YT+MYpu8Y9Ymg1e9AiF m37ecV15jEczscUfOWJGexeK7OIeKvGs2iNgzoNAvcDoTJ7RqhLnzQZQVc7zPoqS a4jBgiNyQQ6BjVJbTJEGunr6s/itF3CdIih3EYeflEi/hyxwIMNpN+9eoPAu87kC FMZVfp8tJhTTnPilNK4kKbVQPbJsW7XJZwoiiiSypb8zenYrqKNDnVVfLy0b7vG1 baOzhR069+K5orpSrH+QnRuG5XUBByJB731OO6YLhaWBZVjTOFfgvQde4mL01OU6 DY0KFZLuB+R7tdryfO/wU2NSz91bkPFm8yPXDBuF/B1I6/Tt9bA= =+mT+ -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Sep 11 21:35:45 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40514] [PATCH] vm: Transparently compress iso9660 images. References: <87zhblofwk.fsf@nckx> In-Reply-To: <87zhblofwk.fsf@nckx> Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Apr 2020 21:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40514@debbugs.gnu.org Received: via spool by 40514-submit@debbugs.gnu.org id=B40514.15863797044114 (code B ref 40514); Wed, 08 Apr 2020 21:02:01 +0000 Received: (at 40514) by debbugs.gnu.org; 8 Apr 2020 21:01:44 +0000 Received: from localhost ([127.0.0.1]:52950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMHpQ-00014I-6O for submit@debbugs.gnu.org; Wed, 08 Apr 2020 17:01:44 -0400 Received: from tobias.gr ([80.241.217.52]:34852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMHpO-000147-Md for 40514@debbugs.gnu.org; Wed, 08 Apr 2020 17:01:43 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 6e52c04b for <40514@debbugs.gnu.org>; Wed, 8 Apr 2020 21:01:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=jLZS+PscX oC00XMY9v6Ro+qTETVtjGLC+b3sU4Bza9g=; b=gYmMjJ8YZYl092MJEESjPVTdV 5aP8XMB2ykTS6ho19c52Z3pCqO/4nvhkpjsdmwNp1tgOuLxn5SDcj7LpKUJpXruT 1lmwJc368LU9ldMKiygfZ5hMyR0k8DhMd9/AnyCstIiRGyl81IA1KSqsOQU8EJHj ybDUGKGTCsr9TaEApy5vlfwazngwN9LKkreSqUItyebfp6LvzTQXV/h+4s0mBX5g +D4pOcAbY1xgE0cBCDg875jP1Og8fIxnUK7QvriyD0lqg/9bLajoTSOj1mQaUzt1 ab8QUIb2DszSJtqF4IXBK3wA1TQcnOa2BqI/0Bjn9EwAZxOHZNVve+H4Fj7bg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id af42b837 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <40514@debbugs.gnu.org>; Wed, 8 Apr 2020 21:01:40 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Wed, 8 Apr 2020 23:01:32 +0200 Message-Id: <20200408210132.23612-1-me@tobias.gr> X-Mailer: git-send-email 2.25.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/build/vm.scm (make-iso9660-image): Use the ‘--zisofs’ xorriso filter at the highest compression settings for supported directories. --- gnu/build/vm.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 79eed48c1f..972eb4bdf9 100644 --- a/gnu/build/vm.scm +++ b/gnu/build/vm.scm @@ -533,6 +533,24 @@ GRUB configuration and OS-DRV as the stuff in it." ;; Set all timestamps to 1. "-volume_date" "all_file_dates" "=1" + ;; ‘zisofs’ compression reduces the total image size by ~60%. + "-zisofs" "level=9:block_size=128k" ; highest compression + ;; It's transparent to our Linux-Libre kernel but not to GRUB. + ;; Don't compress the kernel, initrd, and other files read by + ;; grub.cfg, as well as common already-compressed file names. + "-find" "/" "-type" "f" + ;; XXX Even after "--" above, and despite documentation claiming + ;; otherwise, "-or" is stolen by grub-mkrescue which then chokes + ;; on it (as ‘-o …’) and dies. Don't use "-or". + "-not" "-wholename" "/boot/*" + "-not" "-wholename" "/System/*" + "-not" "-name" "unicode.pf2" + "-not" "-name" "bzImage" + "-not" "-name" "*.gz" ; initrd & all man pages + "-not" "-name" "*.png" ; includes grub-image.png + "-exec" "set_filter" "--zisofs" + "--" + "-volid" (string-upcase volume-id) (if volume-uuid `("-volume_date" "uuid" -- 2.25.2 From unknown Thu Sep 11 21:35:45 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#40514] [PATCH] vm: Transparently compress iso9660 images. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Apr 2020 21:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40514 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 40514@debbugs.gnu.org Cc: me@tobias.gr X-Debbugs-Original-To: Tobias Geerinckx-Rice via Guix-patches via X-Debbugs-Original-Cc: Tobias Geerinckx-Rice , 40514@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158646808517768 (code B ref -1); Thu, 09 Apr 2020 21:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Apr 2020 21:34:45 +0000 Received: from localhost ([127.0.0.1]:54570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMeov-0004cW-Eb for submit@debbugs.gnu.org; Thu, 09 Apr 2020 17:34:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:33217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMeot-0004cN-Rz for submit@debbugs.gnu.org; Thu, 09 Apr 2020 17:34:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44484) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMeos-00009D-OL for guix-patches@gnu.org; Thu, 09 Apr 2020 17:34:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMeor-0007q8-Q6 for guix-patches@gnu.org; Thu, 09 Apr 2020 17:34:42 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:60764) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMeor-0007pu-Jg for guix-patches@gnu.org; Thu, 09 Apr 2020 17:34:41 -0400 Received: from localhost (unknown [185.128.244.187]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 77F853363BE9; Thu, 9 Apr 2020 23:34:40 +0200 (CEST) Date: Thu, 9 Apr 2020 23:34:39 +0200 From: Danny Milosavljevic Message-ID: <20200409233439.69bf8943@scratchpost.org> In-Reply-To: <20200408210132.23612-1-me@tobias.gr> References: <87zhblofwk.fsf@nckx> <20200408210132.23612-1-me@tobias.gr> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/o.l=6re66qZbv4Vw2Pirec8"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 85.13.145.193 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/o.l=6re66qZbv4Vw2Pirec8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi T G-R, On Wed, 8 Apr 2020 23:01:32 +0200 Tobias Geerinckx-Rice via Guix-patches via wrote: > * gnu/build/vm.scm (make-iso9660-image): Use the =E2=80=98--zisofs=E2=80= =99 xorriso > filter at the highest compression settings for supported directories. > --- > gnu/build/vm.scm | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) >=20 > diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm > index 79eed48c1f..972eb4bdf9 100644 > --- a/gnu/build/vm.scm > +++ b/gnu/build/vm.scm > @@ -533,6 +533,24 @@ GRUB configuration and OS-DRV as the stuff in it." > ;; Set all timestamps to 1. > "-volume_date" "all_file_dates" "=3D1" > =20 > + ;; =E2=80=98zisofs=E2=80=99 compression reduces the tota= l image size by ~60%. > + "-zisofs" "level=3D9:block_size=3D128k" ; highest compre= ssion > + ;; It's transparent to our Linux-Libre kernel but not to= GRUB. > + ;; Don't compress the kernel, initrd, and other files re= ad by > + ;; grub.cfg, as well as common already-compressed file n= ames. > + "-find" "/" "-type" "f" > + ;; XXX Even after "--" above, and despite documentation = claiming > + ;; otherwise, "-or" is stolen by grub-mkrescue which the= n chokes > + ;; on it (as =E2=80=98-o =E2=80=A6=E2=80=99) and dies. = Don't use "-or". > + "-not" "-wholename" "/boot/*" > + "-not" "-wholename" "/System/*" > + "-not" "-name" "unicode.pf2" > + "-not" "-name" "bzImage" > + "-not" "-name" "*.gz" ; initrd & all man pages > + "-not" "-name" "*.png" ; includes grub-image.png > + "-exec" "set_filter" "--zisofs" > + "--" > + > "-volid" (string-upcase volume-id) > (if volume-uuid > `("-volume_date" "uuid" LGTM! Tested it and it works, and I see no downside either. --Sig_/o.l=6re66qZbv4Vw2Pirec8 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6PlO8ACgkQ5xo1VCww uqVj+wgAkFhAurat+w5Q5wXLYbMiuAPHIKrYmcnztPYOogds4gA+8eEYxMCpQRI7 NQDDAYDsMSWof8hujpdUpGheinIsKwaWHkbBeJvL5J4lkdVoDX2+KWaWRH3q+2dw R1N0ch7MG9hiNS3eVeqLPaK1f93SkH1E+9Cd749v0OoKJwsjdyiWfjh9JHa2Np6W 80H6qfLlC2pEyBctq13fA1BDMtnrDvF0Wd9BqbE0f0z6t5b+EDWHOAyfMDHcr1SC JFc2eo922KMTD+RLie4uPsPADe9iKoSmOnu2Y7oi36ljFnC7maMVBJs0SQKQgE/h IwPUZ+SQzar5SXDThq6ShAyhcYJy9w== =pAhm -----END PGP SIGNATURE----- --Sig_/o.l=6re66qZbv4Vw2Pirec8-- From unknown Thu Sep 11 21:35:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tobias Geerinckx-Rice Subject: bug#40514: closed (Re: [bug#40514] [PATCH] vm: Transparently compress iso9660 images.) Message-ID: References: <87369c8ayg.fsf@nckx> <87zhblofwk.fsf@nckx> X-Gnu-PR-Message: they-closed 40514 X-Gnu-PR-Package: guix-patches Reply-To: 40514@debbugs.gnu.org Date: Fri, 10 Apr 2020 00:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1586476982-31150-1" This is a multi-part message in MIME format... ------------=_1586476982-31150-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40514: Should we shrink the installer by a gig or so? which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 40514@debbugs.gnu.org. --=20 40514: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40514 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1586476982-31150-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40514-done) by debbugs.gnu.org; 10 Apr 2020 00:02:30 +0000 Received: from localhost ([127.0.0.1]:54659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMh7t-00085f-VW for submit@debbugs.gnu.org; Thu, 09 Apr 2020 20:02:30 -0400 Received: from tobias.gr ([80.241.217.52]:44498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMh7s-00085V-27 for 40514-done@debbugs.gnu.org; Thu, 09 Apr 2020 20:02:28 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 6f8c26a7; Fri, 10 Apr 2020 00:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:message-id:references:in-reply-to:date:mime-version :content-type; s=2018; i=me@tobias.gr; bh=6XnQuqnLLW0szyYuUXVuop iCUkPK0Iyh4xkXckTA1M0=; b=KvmlMfyOt30HBBjth+P5xLfWN/MvbUIi2msLcU nU1/OWxnHm3bRjOg31vEEdf9hOqH4zCYia9a7KzsW7RYJRaRkK8khaXWkcEe/BN0 GT3xGnpd45OCDDNllV1oPFIl8DRFthQmMJ4dOaL213SEhOTqZbLtohiSwg5ylDmN BY+dr3IuRAnFtXBq62PlESCdAEIQCaPXvi3kUaFbIw/nGVN6Ko01Rj+YUrSUpqzL 36XieyTi2mwN7X2Wn00ondrIvcqKwBJDIgTbyBaAkhvvqSPaAZoqo+80qc+ZTtI1 MJT2sIUfO0Ikx1yLkU+lQfcB5ngKtwqjZkbYXh4Hf3Su4sBQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 3d64a729 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 10 Apr 2020 00:02:25 +0000 (UTC) From: Tobias Geerinckx-Rice To: Danny Milosavljevic Subject: Re: [bug#40514] [PATCH] vm: Transparently compress iso9660 images. Message-ID: <87369c8ayg.fsf@nckx> References: <87zhblofwk.fsf@nckx> <20200408210132.23612-1-me@tobias.gr> <20200409233439.69bf8943@scratchpost.org> In-reply-to: <20200409233439.69bf8943@scratchpost.org> Date: Fri, 10 Apr 2020 02:02:27 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40514-done Cc: 40514-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Danny, Danny Milosavljevic =E5=86=99=E9=81=93=EF=BC=9A > Tested it and it works Thanks! Pushed as 26c1bd9dfafb5a954d2174b7a000304cd7ae6345. > and I see no downside either. We can now fit a Gnome 3 desktop on an image the size of the=20 previous installer. I'm sure someone considers that a downside. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl6Pt5MACgkQ2Imw8BjF STyPag//dv6Jp/wtPN1LgCi7hYu3H2LWCEBocRFCtvSrXT7kVLapXtEjoF1A0f3r jv9/AG23z6Q5duP27LypH+BZ0ZQKHzahcMjKplhxGtDfJNoW9v7QfglIuSBuM9Gx h7zjw8f9TWfy85SPJzumx+Lhqqpw9tECHLJ7k5mYslVFT8TU1QRgWM1jfpn9zlcW tbOhVE1xUlTjrkpJFcBqicEpIHs8nLSqmgcBOiI8aNf0iZwAZnmkh8WzUDmJKEZt XpdcjMAhczReq3uXu5P5GPKvNHbrPtaHPvRiP6XOfDVO9vmIUwjgbARWaGdTe3Fg gPcBEi2bhuazHDbX70kzXM066pcnrNoq11kjsgM1qQmnIGZ1oZnQo28f51IS7Vhz IgzcQgFg7hZY29BZJi95tCVE6rEMWTG8zBeGDtxqThqil8KIoQCv45xipWmN87dW eyxJ6Z8ViAapmgadzxf7TGyAWUGWZPTiJZCrGhGflOHRGeiIhLCr8AciRcZYfqQ5 uO8qUoMEAA55a7jnK2X1eGahVwEUjqScQaUqjWKhMwyhJ9aPndB7goWq9gUUJAJA 6VQFwNiVr4MLkLHKBIFZH0ZhgdXKXQDqPjvMjs4eRrWFLPWy03AEtvhv7aLdxknq hHEi1cNFqyApWMRcMmMXHrA0HyDTlUXh2uQLiQdGIrGHDur3rBU= =OCe0 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1586476982-31150-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Apr 2020 20:56:31 +0000 Received: from localhost ([127.0.0.1]:52944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMHkN-0000uX-Jo for submit@debbugs.gnu.org; Wed, 08 Apr 2020 16:56:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:57685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMHkM-0000uQ-8R for submit@debbugs.gnu.org; Wed, 08 Apr 2020 16:56:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42918) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMHkK-0002Tp-Ta for guix-patches@gnu.org; Wed, 08 Apr 2020 16:56:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMHkJ-0002F0-PI for guix-patches@gnu.org; Wed, 08 Apr 2020 16:56:28 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:56404) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMHkJ-0002Dk-7d for guix-patches@gnu.org; Wed, 08 Apr 2020 16:56:27 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 80744bff for ; Wed, 8 Apr 2020 20:56:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type; s=2018; i= me@tobias.gr; bh=8QsTngdweipLJnDQJOD5roeHvKdMUfGDSnaZ/rjf9Ys=; b= GJdoDnI72c9bkrP4m1Ss8xnYGMru8dIHQb4S/2IeXTQX88wZ2UvEr2sp8LM4p2TA OMQ3DtlLeR2ZrRdoC2VF3DMQzEWp1ghpvr6YKmC9bXV+v3Ikzt/3Qmtfyo8H13XK 13nDLWbK6WujPM4ImarpTmqela7TORajo1NpPUZ9775bFCXhw4Te9Mf0LDZmiIQu nuiGaonclIN2KmZoQ9qv4wgnUkPqMbwOLaTE7+RdWEUA5490P0mJe7TlUR+QxXg9 Ef5gRucQAy02ahLmZgk05Hd1cImNJHYTD0AfAyvuKiyJP/70osqi4PN85HMgCDfd Hguvio6Hq/HQxwRxss0dyQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id afc5932e (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Wed, 8 Apr 2020 20:56:24 +0000 (UTC) From: Tobias Geerinckx-Rice To: Guix-patches via Subject: Should we shrink the installer by a gig or so? Date: Wed, 08 Apr 2020 22:56:27 +0200 Message-ID: <87zhblofwk.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a02:c205:2020:6054::1 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Guix, I've met at least someone who was worried that Guix wouldn't=20 support their System =E2=80=98because the installer fell back to text=20 mode=E2=80=99. They didn't mean nomodeset: obviously a 1.5-GiB ISO must=20 be hiding a full desktop somewhere, not just the interface of a=20 text-mode netinstaller image about 2.5% its total size: $ du -h Downloads/trisquel-netinst_8.0_amd64.iso 37M =E2=80=A6 $ du -h /gnu/store/l005v0ssz34gz5mrg3vpr51sq8sry8wp-image.iso 1.5G =E2=80=A6 Now I'm not suggesting we add Gnome (yet), but how about reducing=20 the size by 60% for 1.1.0? du -h /gnu/store/jcpg5wsflpymiq3vx929wq2cr0qbw44f-image.iso 561M =E2=80=A6 Our CD image finally fits on a CD! Remember those? I try not to. It also fits onto the ~100 1-=E2=80=98GB=E2=80=99 USB drives I have in a bo= x and=20 can now finally give away as Guix installers. Zisofs is a somewhat obscure, Linux-specific extension to Rock=20 Ridge that transparently (de)compresses file data using zlib. Our=20 linux-libre already supports it. As far as the system is=20 concerned it's just a regular iso9660 file system. Unlike squashfs (with which I'm currently playing) it requires=20 zero further changes to the creation or boot process that could=20 introduce new bugs. Hence I'm hopeful that this can be tested and=20 merged in time for the next release. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl6OOnsACgkQ2Imw8BjF STyrKA//SwprnvDEbo6IPbbdgPDbd+Dz9apL4n1cDcNtBwv1uHOShMl8fEXkjWgC 4fG0dI/+VtXucVCSCG6hAIlgbo5O+3rncl+RenYkJg1VWqKBeSOgugSiNe7mFi2+ 3zl06jJVzUpwW4geQOWcNXGO32a0axSwFXc/LZLiC+Uf/rZmCSG976bXyHUMcyMx pjl4PzcdeaIRka4jkuqvt3+CQKPYKn5+czhoVZjZouV5VNfHDSafBkFWOr/ZjW4W bIbTpGLVWWNOJzHRWHz9LPKiPxeoDoLV7Vz1ZWmAf0m3HezGew4wk4zOk3nPifcx I2nFIfFAKD/zATNXtrnw3hjB61aWgEkG8PW4kLUhZRAS2YT+MYpu8Y9Ymg1e9AiF m37ecV15jEczscUfOWJGexeK7OIeKvGs2iNgzoNAvcDoTJ7RqhLnzQZQVc7zPoqS a4jBgiNyQQ6BjVJbTJEGunr6s/itF3CdIih3EYeflEi/hyxwIMNpN+9eoPAu87kC FMZVfp8tJhTTnPilNK4kKbVQPbJsW7XJZwoiiiSypb8zenYrqKNDnVVfLy0b7vG1 baOzhR069+K5orpSrH+QnRuG5XUBByJB731OO6YLhaWBZVjTOFfgvQde4mL01OU6 DY0KFZLuB+R7tdryfO/wU2NSz91bkPFm8yPXDBuF/B1I6/Tt9bA= =+mT+ -----END PGP SIGNATURE----- --=-=-=-- ------------=_1586476982-31150-1--