Didier Wiroth wrote on Thu, Oct 05, 2006 at 03:22:32PM +0200:

> To do a "make release", you have to set a DESTDIR variable.
> Can the DESTDIR be in the /usr/obj directory, like: /usr/obj/DESTDIR
> or should this be avoided?

This will be OK (though it doesn't look like a natural choice).
The only reason i can imagine why you might want to put it there 
is that you made /usr/obj a seperate partition, screwing up the
partition layout such that /usr/obj is now the last file system
which has sufficient free space.

The main reason why i would suggest not to choose /usr/obj/DESTDIR
is that putting random stuff in places intended for very special
purposes (like /usr/obj) is likely to confuse your co-admins - or
even yourself.  

For example, somewhere below /usr/local would seem more natural
to me.

If you insist, you can put it anywhere, as long as you avoid
the following:

 - don't clobber the OS itself (thus, DESTDIR=/usr/local is very bad)
 - make sure nothing else will write there (DESTDIR=/usr/obj is bad)
 - it must not use /mnt or svnd0, see release(8)
 - avoid places where stuff might get lost if you need to reboot
   (DESTDIR=/tmp/fakeroot might work, but is not a good choice)
 - avoid remote NFS volumes - in particular those that use nice
   stuff like -maproot, see exports(5).  The release process
   needs to `chown root` and `chmod u+s` various files in DESTDIR.

Good luck,
  Ingo

Reply via email to