Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > muc.lists.netbsd.tech.userlevel > #11521

Re: Supporting compression-less release builds

From Martin Husemann <martin@duskware.de>
Newsgroups muc.lists.netbsd.tech.userlevel
Subject Re: Supporting compression-less release builds
Date 2025-01-13 11:10 +0100
Organization Newsgate at muc.de e.V.
Message-ID <20250113101028.GA8314@mail.duskware.de> (permalink)
References <> <20250113013414.EEE52758F@thoreau.thistledown.com.au>

Show all headers | View raw


On Mon, Jan 13, 2025 at 12:34:14PM +1100, Simon Burge wrote:
> If you don't want the compressed sets in your development cycle can you
> just use "./build.sh ... distribution" to skip generating the sets?

This likely will not do as the image creation needs the set files.

> A better control knob for sets wouldn't be unwelcome (IMO) :).

Yes, especially an override for the compression level, so a simple solution
would be USE_XZ_SETS=no GZIP_LEVEL=0 or something like that (where GZIP_LEVEL
does not exist yet).

Making this all slightly more generic sounds good too, but it is pretty
intrusive - the file name is used in the release docs as well as in sysinst,
and external tools like Anita depend on a hard code list of potential file
names for the sets.

> Note that we sometimes use an explicit compression method elsewhere
> in the build (eg compressing kernels) that might differ from the
> compression method for sets.

Indeed, and also some of the compression levels must be high (or used to
be, maybe the split of DVD images fixed this properly already) to make
the resulting images fit into certain size restraints.

For the original problem, I would do something else: hack the makefiles
localy to not update the compressed aritfacts at all when some make variable
is set. If that turns out to be usefull and not totally awful, it could
even be commited with some warnings in the documentation.

Martin

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

Back to muc.lists.netbsd.tech.userlevel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Supporting compression-less release builds Julio Merino <jmmv@NetBSD.org> - 2025-01-12 14:49 +0000
  Re: Supporting compression-less release builds Alistair Crooks <alistaircrooks@gmail.com> - 2025-01-12 09:59 -0800
  Re: Supporting compression-less release builds Simon Burge <simonb@NetBSD.org> - 2025-01-13 12:34 +1100
    Re: Supporting compression-less release builds Martin Husemann <martin@duskware.de> - 2025-01-13 11:10 +0100
      Re: Supporting compression-less release builds Greg Troxel <gdt@lexort.com> - 2025-01-13 08:27 -0500
      Re: Supporting compression-less release builds "Greg A. Woods" <woods@planix.ca> - 2025-01-13 14:01 -0800
    Re: Supporting compression-less release builds Julio Merino <jmmv@NetBSD.org> - 2025-01-18 16:33 +0000
      Re: Supporting compression-less release builds Ignatios Souvatzis <is@netbsd.org> - 2025-01-18 20:47 +0100
        Re: Supporting compression-less release builds Julio Merino <jmmv@NetBSD.org> - 2025-01-18 22:38 +0000
      Re: Supporting compression-less release builds Ignatios Souvatzis <ignatios@cs.uni-bonn.de> - 2025-01-18 18:12 +0100
  Re: Supporting compression-less release builds Julio Merino <jmmv@NetBSD.org> - 2025-01-18 16:40 +0000

csiph-web