Subject: Re: how should I make kernels to have it work under build.sh
To: None <netbsd-help@netbsd.org>
From: Ja'far Railton <ibn.richard@gmail.com>
List: netbsd-help
Date: 11/19/2005 21:35:46
> From: Luke Mewburn <lukem@netbsd.org>
> Date: Nov 18, 2005 1:33 AM
> Subject: Re: how should I make kernels to have it work under build.sh
> To: George Michaelson <ggm@apnic.net>
> Cc: netbsd-help@netbsd.org
>
>
> build as nonroot:
> nonroot% ./build.sh [...] -u -U distribution sets \
> kernel=MYKERN releasekernel=MYKERN
>
> upgrade as root,
> gunzip RELEASEDIR/i386/binary/kernel/netbsd-MYKERN.gz to /
>
> reboot to single user
>
> root# pax -zrpe -f /path/to/base.tgz
> root# pax -zrpe -f /path/to/comp.tgz
> root# pax -zrpe -f /path/to/games.tgz
> root# pax -zrpe -f /path/to/man.tgz
> root# pax -zrpe -f /path/to/misc.tgz
> root# pax -zrpe -f /path/to/text.tgz
> root# postinstall -s /path/to/etc.tgz fix
> (verify postinstall looks ok)
> root# reboot
>
>
> I find this to be a much safer way of upgrading.
IYHO, is this method safer than using ./build.sh [-xyz] install=/ in
single user mode? If yes, why?
- thanks
--
Ja'far ibn Richard Railton