Subject: kern/4021: kernel build uses absolute paths
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@rumolt.teuto.de>
List: netbsd-bugs
Date: 08/20/1997 22:38:28
>Number:         4021
>Category:       kern
>Synopsis:       it's not possible to build a kernel alternating in different mount points
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 20 14:05:01 1997
>Last-Modified:
>Originator:     Martin Husemann
>Organization:
UP-Vision Computergraphik GmbH
>Release:        current as of Aug 17 1997
>Environment:
System: NetBSD rumolt.teuto.de 1.2G NetBSD 1.2G (RUMOLT) #0: Sun Aug 17 10:09:23 MEST 1997 root@hwart.teuto.de:/usr/src/sys-local/arch/i386/compile/RUMOLT i386


>Description:

If you mount a kernel compile directory on /mnt/usr/src/sys/arch/i386/..., 
config and compile it there, you cannot go to the fileserver (where it is
mounted as /usr/src/sys/arch/i386) and compile a new kernel there, because
there are absolute paths in lib/kern/.depend and lib/compat/.depend.

You have to edit these files manually and replace the absolute by relative
paths.

>How-To-Repeat:

See above.

>Fix:

Sorry, none available right now.
>Audit-Trail:
>Unformatted: