NetBSD-Bugs archive

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

misc/38786: Wrong direction kernel installation in chap-updating.xml



>Number:         38786
>Category:       misc
>Synopsis:       Wrong direction kernel installation in chap-updating.xml
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 29 13:40:01 +0000 2008
>Originator:     dominique.goncalves%gmail.com@localhost
>Release:        4.0_STABLE
>Organization:
>Environment:
>Description:
In http://www.netbsd.org/docs/updating.html#kernel after building the kernel, 
the article indicates:
[...]
mv /usr/src/sys/arch/<ARCH>/compile/<KERNEL>/netbsd /
[...]

but the kernel is build in /usr/obj not /usr/src
>How-To-Repeat:

>Fix:
%diff -u chap-updating.xml.orig chap-updating.xml
--- chap-updating.xml.orig      2008-05-29 13:45:24.000000000 +0200
+++ chap-updating.xml   2008-05-29 13:45:46.000000000 +0200
@@ -85,7 +85,7 @@
 &uprompt; <userinput>cd /usr/src</userinput>
 &uprompt; <userinput>su</userinput>
 &rprompt; <userinput>mv /netbsd /netbsd.old</userinput>
-&rprompt; <userinput>mv 
/usr/src/sys/arch/&lt;ARCH&gt;/compile/&lt;KERNEL&gt;/netbsd /</userinput>
+&rprompt; <userinput>mv 
/usr/obj/sys/arch/&lt;ARCH&gt;/compile/&lt;KERNEL&gt;/netbsd /</userinput>
 &rprompt; <userinput>shutdown -r now</userinput>
  ...
 &uprompt; <userinput>cd /usr/src</userinput>



Home | Main Index | Thread Index | Old Index