changed the way how temporary files/directories will be created:
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 22 Jan 2006 12:24:25 +0000 (12:24 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 22 Jan 2006 12:24:25 +0000 (12:24 +0000)
commit94a0653be2b933848c61bd7a26dd3656fa8917bc
tree834f8b0e46cd1a7f6e28b266f80facfdd020f222
parent478f35b000e8bcaefcb3ca6dbd875db9eb1b6799
changed the way how temporary files/directories will be created:

* mktemp will now be called with the '-t' parameter and sometimes with
  '-p'
* absolutes paths (e.g. '/tmp') were removed from the templates
* with this changes, it is now possible to override the location of
  the temporary files by setting $TMPDIR. This should add a way to
  solve problems like debootstrap on non-executable tmp-directories
  (http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15447)

These changes require that 'mktemp' understands the following switches:

* '-t'  ... Generate a path rooted in a temporary directory.
* '-d'  ... Make a directory instead of a file.
* '-p' ...  Use the specified directory as a prefix when generating
            the temporary filename.

Because 'mktemp' from Debian Woody's 'debianutils_1.16.2woody1'
supports these features every recent Linux distribution should do it
also.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2263 94cd875c-1c1d-0410-91d2-eb244daf1a30
util-vserver/scripts/functions
util-vserver/scripts/pkgmgmt
util-vserver/scripts/start-vservers
util-vserver/scripts/util-vserver-vars.pathsubst
util-vserver/scripts/vserver-build.rpm
util-vserver/scripts/vserver.functions
util-vserver/scripts/vserver.start