summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-18 13:09:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-18 13:09:26 +0000
commitf857e49b00c270f098fea5265380d6079ac4ae01 (patch)
tree49104245f43e062052c6f2c61901d14c0a2088c0
parentb8277bac0fae66c5cdb13d4b50af505aa4c16c18 (diff)
downloaddrakx-f857e49b00c270f098fea5265380d6079ac4ae01.tar
drakx-f857e49b00c270f098fea5265380d6079ac4ae01.tar.gz
drakx-f857e49b00c270f098fea5265380d6079ac4ae01.tar.bz2
drakx-f857e49b00c270f098fea5265380d6079ac4ae01.tar.xz
drakx-f857e49b00c270f098fea5265380d6079ac4ae01.zip
don't use tmpfs on /tmp if /tmp is a separate partition
(anyway, all this is ugly, see with titi)
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 6750e3e8a..75db21784 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -316,7 +316,7 @@ sub setupBootloader__general {
}
if ($prev_clean_tmp != $clean_tmp) {
- if ($clean_tmp) {
+ if ($clean_tmp && !fsedit::has_mntpoint('/tmp', $all_hds)) {
push @{$all_hds->{special}}, { device => 'none', mntpoint => '/tmp', type => 'tmpfs' };
} else {
@{$all_hds->{special}} = grep { $_->{mntpoint} eq '/tmp' } @{$all_hds->{special}};