Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2008 18:43:09 +0600 (YEKST)
From:      iiv@dom.raid.ru
To:        "Mel" <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: build system to DESTDIR
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>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50508.10.90.34.181.1215780189.squirrel>