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


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

Re: Supporting compression-less release builds

From "Greg A. Woods" <woods@planix.ca>
Newsgroups muc.lists.netbsd.tech.userlevel
Subject Re: Supporting compression-less release builds
Date 2025-01-13 14:01 -0800
Organization Planix, Inc.
Message-ID <m1tXSVF-00Mo5zC@more.local> (permalink)
References <> <20250113101028.GA8314@mail.duskware.de>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

At Mon, 13 Jan 2025 11:10:28 +0100, Martin Husemann <martin@duskware.de> wrote:
Subject: Re: Supporting compression-less release builds
>
> 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).

Note that the sets Makefile sets a default for the make variable XZ_OPT,
and then passes it as XZ_OPT in the environment.

If I remember right I tried XZ_OPT=-0 but it was still painfully slow.
Instead I use USE_XZ_SETS=no and USE_PIGZGZIP=yes.

It does also passes the make variable GZIP_N_FLAG as GZIP in the
environment.  One could add a "-0" to GZIP_N_FLAG, but note that the
default value varies slightly based on the setting of ${USE_PIGZGZIP}.

> 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.

Indeed -- this could prove useful for those of us who never care about
writing installation images to limited physical media any more.

--
					Greg A. Woods <gwoods@acm.org>

Kelowna, BC     +1 250 762-7675           RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>     Avoncote Farms <woods@avoncote.ca>

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