unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Guix Devel <guix-devel@gnu.org>
Subject: ISO image: to xz or not to xz?
Date: Wed, 28 Apr 2021 22:18:01 +0200	[thread overview]
Message-ID: <878s52rwna.fsf@gnu.org> (raw)

Hi!

Here’s the installation ISO image (with built-in zlib compression):

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix system image -t iso9660 gnu/system/install.scm
/gnu/store/kg63cyg94dmy9x7rpxf5ycn97sqx1ndl-image.iso
$ xz < /gnu/store/kg63cyg94dmy9x7rpxf5ycn97sqx1ndl-image.iso > /tmp/t.iso.xz
$ du -h /tmp/t.iso.xz
496M	/tmp/t.iso.xz
$ du -h /gnu/store/kg63cyg94dmy9x7rpxf5ycn97sqx1ndl-image.iso
647M	/gnu/store/kg63cyg94dmy9x7rpxf5ycn97sqx1ndl-image.iso
--8<---------------cut here---------------end--------------->8---

The xz-compressed image is 23% smaller, which is not negligible.
However, it’s apparently quite unusual to distribute compressed ISOs and
some services/tools such as libosinfo require plain ISOs (uncompressed).

Should we distribute the installation ISO without xz compression?

That could be done in respect of the string freeze (removing text, not
modifying it), though the relevant section would look odd because it’d
have a single step (info "(guix) USB Stick and DVD Installation").

Or maybe it’s safer to postpone that question until the next release.

What do people think?

Ludo’.


             reply	other threads:[~2021-04-28 20:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 20:18 Ludovic Courtès [this message]
2021-04-28 20:39 ` ISO image: to xz or not to xz? Vincent Legoll
2021-04-28 20:41 ` Simon Josefsson via Development of GNU Guix and the GNU System distribution.
2021-05-02 21:16   ` [PATCH] maint: Do not xz-compress ISO images Ludovic Courtès
2021-05-03  0:15     ` [bug#48173] " Julien Lepiller
2021-05-03  7:50       ` François
2021-05-03 15:39       ` bug#48173: " Ludovic Courtès
2021-05-03 16:35         ` Julien Lepiller
2021-05-04  3:35           ` Maxim Cournoyer
2021-05-03 15:54       ` Ludovic Courtès
2021-04-28 21:16 ` ISO image: to xz or not to xz? Christopher Baines
2021-04-28 21:18 ` Leo Famulari
2021-05-03 16:47 ` Alexandre Oliva
2021-05-03 17:07   ` Leo Famulari
2021-05-03 17:30     ` Vagrant Cascadian
2021-05-03 19:12       ` Tobias Geerinckx-Rice
2021-05-03 19:57         ` Vagrant Cascadian
2021-05-03 17:41   ` Tobias Geerinckx-Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878s52rwna.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).