diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-08-19 15:23:10 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-08-19 15:23:10 +0000 |
commit | 97f2db7447526e59fe75890db07db56b219a6123 (patch) | |
tree | c7b3ccdf0b65404f562ffab47d81c960c93ab1de /tools | |
parent | f4ab54aab499b5c232e4fd83cc6be38eacd88128 (diff) | |
download | drakx-backup-do-not-use-97f2db7447526e59fe75890db07db56b219a6123.tar drakx-backup-do-not-use-97f2db7447526e59fe75890db07db56b219a6123.tar.gz drakx-backup-do-not-use-97f2db7447526e59fe75890db07db56b219a6123.tar.bz2 drakx-backup-do-not-use-97f2db7447526e59fe75890db07db56b219a6123.tar.xz drakx-backup-do-not-use-97f2db7447526e59fe75890db07db56b219a6123.zip |
prevent packdrake faillure on creating temporary files
Diffstat (limited to 'tools')
-rw-r--r-- | tools/drakx-in-chroot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 83d1b381b..91f9edd28 100644 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -23,6 +23,8 @@ if ($>) { $ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}"; } +undef $ENV{TMPDIR}; # prevent packdrake faillure on creating temporary files + if (-d $SLASH_LOCATION) { umount_all() == 0 or die "$SLASH_LOCATION is busy\n"; sys("$sudo rm -rf $SLASH_LOCATION/var/lib/rpm $SLASH_LOCATION/dev/mapper"); |