From owner-freebsd-questions@FreeBSD.ORG Fri Jul 11 12:43:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 905B61065670 for ; Fri, 11 Jul 2008 12:43:12 +0000 (UTC) (envelope-from iiv@dom.raid.ru) Received: from smtp.ertelecom.ru (smtp.ertelecom.ru [212.33.232.210]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB188FC3D for ; Fri, 11 Jul 2008 12:43:12 +0000 (UTC) (envelope-from iiv@dom.raid.ru) Received: from mail.raid.ru ([212.33.232.8]:21995 helo=dom.raid.ru) by smtp.ertelecom.ru with esmtp (Exim) id 1KHHxt-000AVn-9Z; Fri, 11 Jul 2008 18:43:09 +0600 Received: from 10.90.34.181 (SquirrelMail authenticated user iiv@dom.raid.ru) by dom.raid.ru with HTTP; Fri, 11 Jul 2008 18:43:09 +0600 (YEKST) Message-ID: <50508.10.90.34.181.1215780189.squirrel@dom.raid.ru> In-Reply-To: <200807111401.11516.fbsd.questions@rachie.is-a-geek.net> References: <50440.10.90.34.181.1215767284.squirrel@dom.raid.ru> <200807111401.11516.fbsd.questions@rachie.is-a-geek.net> Date: Fri, 11 Jul 2008 18:43:09 +0600 (YEKST) From: iiv@dom.raid.ru To: "Mel" User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: build system to DESTDIR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 12:43:12 -0000 > On Friday 11 July 2008 11:08:04 iiv@dom.raid.ru wrote: >> To build system for the diskless station, whether there are >> differences between: >> >> [in script] >> #!/bin/sh >> export DESTDIR=/usr/diskless >> cd /usr/src; make buildworld >> >> and >> >> [in csh] >> # setenv DESTDIR /usr/diskless >> # cd /usr/src >> # make buildworld > > There should not be a difference, but to rule out any shell issues, > it is best > to invoke: > make buildworld DESTDIR=/usr/diskless > > Make itself then handles the variable. > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > thanks, I will try this method of installing the system in /usr/diskless: # cd /usr/src # make installworld DESTDIR=/usr/diskless # make installkernel DESTDIR=/usr/diskless # make distribution DESTDIR=/usr/diskless