tech-install archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Should build.sh install=/foo generate a "complete" installation?



On Sat, Jul 05, 2025 at 07:12:39PM -0700, Chris Hanson wrote:
> Specifically, I used
> 
>     ./build/sh \
>         -m sparc64 \
>         -T /usr/tools-10/sparc64 \
>         -O /usr/obj-10/sparc64 \
>         -x -U -u \
>         ${command}
> 
> three times to build (my local branch of) netbsd-10, with ${command} producing in order:
> 
>     tools
>     kernel=GENERIC distribution
>     install=/export/NetBSD/10.1/root/ultra60

I would suggest to use "kernel=GENERIC distsets" as target (just a signle invocation, it
will do all required other steps internally) and then untar all the sets
produced in the target directory. The tar extraction has to be run as
root. And the kernel might be slightly hidden in the -O directory and
needs to be copied over. This is a bit cheaper than the official way, which
is: "release" as single target, which will create a few more files than
you need.

Martin


Home | Main Index | Thread Index | Old Index