From owner-freebsd-current@FreeBSD.ORG Sun Oct 31 19:14:06 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC50A106566B for ; Sun, 31 Oct 2010 19:14:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5078FC1C for ; Sun, 31 Oct 2010 19:14:06 +0000 (UTC) Received: from [109.85.73.168] (helo=tiny.Sisis.de.) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PCdLx-0000Rc-3u for freebsd-current@freebsd.org; Sun, 31 Oct 2010 20:14:05 +0100 Received: from tiny.Sisis.de. (localhost [127.0.0.1]) by tiny.Sisis.de. (8.14.3/8.14.3) with ESMTP id o9VKFrns001343 for ; Sun, 31 Oct 2010 21:15:53 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de. (8.14.3/8.14.3/Submit) id o9VKFqLq001342 for freebsd-current@freebsd.org; Sun, 31 Oct 2010 21:15:52 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de.: guru set sender to guru@unixarea.de using -f Date: Sun, 31 Oct 2010 21:15:52 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org Message-ID: <20101031201551.GB1302@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 109.85.73.168 Subject: having 'src' and 'obj' in some other place X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2010 19:14:07 -0000 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 - w http://www.unixarea.de/