build system to DESTDIR

2008-07-11 Thread iiv
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: build system to DESTDIR

2008-07-11 Thread Mel
On Friday 11 July 2008 11:08:04 [EMAIL PROTECTED] 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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: build system to DESTDIR

2008-07-11 Thread iiv
 On Friday 11 July 2008 11:08:04 [EMAIL PROTECTED] 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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]