Subject: toolchain/21945: fix kernel 'make install' to use netbsd.old matching bootblock expectations
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wsimpson@greendragon.com>
List: netbsd-bugs
Date: 06/20/2003 20:55:39
>Number:         21945
>Category:       toolchain
>Synopsis:       fix kernel 'make install' to use netbsd.old matching bootblock expectations
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 20 20:56:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     william allen simpson
>Release:        1.6U
>Organization:
daydreamer
>Environment:
i386
>Description:
As described on the current-users list circa 2003 Jun 20, existing 
kernel 'make install' runs as follows:

    # make -n install
    rm -f /onetbsd
    ln /netbsd /onetbsd
    cp netbsd /nnetbsd
    mv /nnetbsd /netbsd

Documents inconsistently prescribe a manual version:

  http://www.netbsd.org/Documentation/current
    mv /netbsd /onetbsd 
    mv sys/arch/<ARCH>/compile/GENERIC/netbsd / 

  http://www.netbsd.org/Documentation/kernel
    mv /netbsd /netbsd.old
    mv /sys/arch/<ARCH>/compile/<MYCONF>/netbsd /"

It would be best to use a consistent method, and document it!
>How-To-Repeat:

>Fix:
    rm /netbsd.old
    ln /netbsd /netbsd.old
    sync
    sleep 5
    install -cpr netbsd /
    sync
    sleep 5
>Release-Note:
>Audit-Trail:
>Unformatted: