Re: Making install CDs contain the full sets

David Brownlee <[email protected]>
Newsgroups gmane.os.netbsd.devel.installation
Message-ID <CAGN_6pb2sN5Wts3ep_Yms7-QWmGfMujTLt6snU74jvZmNhOfCg@mail.gmail.com>
On 1 July 2014 14:13, Martin Husemann <[email protected]> wrote:
> Izumi Tsutsui recently mentioned, in a side note to some other discussion,
> that our USB images have much simpler makefiles than the slightly tricky
> install CD ones, by just using the contents of full sets instead of
> cherry-picked individual directories or binaries.
>
> I did a test, and indeed the code is a lot easier (patch below), but
> unfortunately sizes grow (significantly).
>
> VAX grows from:
> -r--r--r--  1 611  611  220M Jun 25 22:40 NetBSD-6.99.44-vax.iso
>
> to:
> -rw-r--r--  1 martin  wheel  513M Jun 30 17:39 NetBSD-6.99.44-vax.iso
>
> which may be compressed down to:
> -rw-r--r--  1 martin  wheel  434M Jun 30 21:39 NetBSD-6.99.44-vax.iso.bz2
> -rw-r--r--  1 martin  wheel  436M Jun 30 21:36 NetBSD-6.99.44-vax.iso.gz
> -rw-r--r--  1 martin  wheel  417M Jun 30 21:52 NetBSD-6.99.44-vax.iso.xz
>
> (I would vote for .zip compression (same size as .gz) if pigz is available.)
>
> Others, however, slightly explode:
> -r--r--r--  1 root  wheel  936M Jul  1 01:08 NetBSD-6.99.44-sparc64.iso
>
> So, this is not a CD image anymore, and this kills the idea (even if we
> could strip off ~ 6 MB by not expanding modules.tgz on sparc64 for now).
>
>
> Any obvious tricks I'm overlooking?

How about just including base & etc - that would still make them
generally useful without (hopefully) too much bloat.

A variation on the 'save space' option would be to build more of the
system as crunchgen - I believe Greg Woods had patches to allow
building a crunchgen full distribution bar PAM and something else.

And for token insanely overcomplicated option - build each of the
distrib files into a compressed vnd, and then union mount them all
readonly on top of each other in the CD startup scripts, and adjust
sysinst to be able to extract a distrib file from a compressed vnd.
(Please no :)

So... base & etc only, what does that sound like? :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.