having 'src' and 'obj' in some other place

From: Matthias Apitz <guru_at_unixarea.de>
Date: Sun, 31 Oct 2010 21:15:52 +0100
Hello,

I compiled a 9-CURRENT from SVN but having it in a non default place,
in /home/guru/9-CURRENT/src. To compile kernel and world I set
MAKEOBJDIRPREFIX to /home/guru/9-CURRENT/obj and all went fine. Then I
installed kernel und world to the USB key using DESTDIR set to /mnt.

Because the idea is to use the USB key for further installation a copied
the 'src' and 'obj' to it as well with:

# cp -Rp /home/guru/9-CURRENT/src /mnt/usr
# cp -Rp /home/guru/9-CURRENT/obj /mnt/usr

The USB key boots fine. From this USB key I now wanted to install the
system to a partitioned hard disk, again with something like:

# cd /usr/src
# make installworld DESTDIR=/mnt

where below /mnt now the file system of the disk was mounted. This failed
with messages about 'install: ... not found' and the way around was to
move /usr/src again on the USB key to a faked location of
/home/guru/9-CURRENT/src, and as well 'obj'. After this all went fine.

Question: Why is this so hardwired bound to the original location of
'src' and 'obj'?

Thanks

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru_at_unixarea.de> - w http://www.unixarea.de/
Received on Sun Oct 31 2010 - 18:14:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC