NetBSD Problem Report #21945
Received: (qmail 26570 invoked by uid 605); 20 Jun 2003 20:55:40 -0000
Message-Id: <20030620205539.1C3A311152@narn.netbsd.org>
Date: Fri, 20 Jun 2003 20:55:39 +0000 (UTC)
From: wsimpson@greendragon.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: wsimpson@greendragon.com
To: gnats-bugs@gnats.netbsd.org
Subject: fix kernel 'make install' to use netbsd.old matching bootblock expectations
X-Send-Pr-Version: www-1.0
>Number: 21945
>Category: kern
>Synopsis: fix kernel 'make install' to use netbsd.old matching bootblock expectations
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 20 20:56:01 +0000 2003
>Closed-Date:
>Last-Modified: Fri Apr 02 09:26:19 +0000 2004
>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:
Responsible-Changed-From-To: toolchain-manager->tron
Responsible-Changed-By: tron
Responsible-Changed-When: Sun Jun 22 08:01:39 UTC 2003
Responsible-Changed-Why:
I'll handle this PR.
From: William Allen Simpson <wsimpson@greendragon.com>
To: gnats-bugs@netbsd.org
Cc: toolchain-manager@netbsd.org, tron@netbsd.org
Subject: Re: toolchain/21945: fix kernel 'make install' to use netbsd.old
matching bootblock expectations
Date: Mon, 23 Jun 2003 14:46:34 -0400
I posted a patch for the www documentation that specifies:
cd /usr/obj/sys/arch/<ARCH>/compile/GENERIC
su
make install
There's been a bit of discussion on current-users, and maybe the fix
to 'make install' should be:
ln -f /netbsd /netbsd.old
sync; sync; sync
install -cpr netbsd /
sync; sync; sync
ln -f /netbsd /netbsd.$($(cat version))
Or variations on a theme....
--
William Allen Simpson
Key fingerprint = 17 40 5E 67 15 6F 31 26 DD 0D B9 9B 6A 15 2C 32
Responsible-Changed-From-To: tron->toolchain-manager
Responsible-Changed-By: tron
Responsible-Changed-When: Mon Jun 23 21:44:11 UTC 2003
Responsible-Changed-Why:
There is an ongoing discussion about this issue on "current-users" which
needs to be settled first.
Responsible-Changed-From-To: toolchain-manager->kern-bug-people
Responsible-Changed-By: mrg
Responsible-Changed-When: Fri Apr 2 09:25:54 UTC 2004
Responsible-Changed-Why:
this isn't a toolchain problem, but a kernel problem.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.