summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/wild_device.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-19 14:56:56 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-19 14:56:56 +0000
commit25358c09c9b5c0e7132eb852d2cbbee96b5596fc (patch)
treeca6d66307ad03b6ba8976f2f98371772e46fde56 /perl-install/fs/wild_device.pm
parentf5e36481b1ec41c69538350eac99c91ee7da3250 (diff)
downloaddrakx-25358c09c9b5c0e7132eb852d2cbbee96b5596fc.tar
drakx-25358c09c9b5c0e7132eb852d2cbbee96b5596fc.tar.gz
drakx-25358c09c9b5c0e7132eb852d2cbbee96b5596fc.tar.bz2
drakx-25358c09c9b5c0e7132eb852d2cbbee96b5596fc.tar.xz
drakx-25358c09c9b5c0e7132eb852d2cbbee96b5596fc.zip
use UUID by default (for diskdrake and draklive-install)
Diffstat (limited to 'perl-install/fs/wild_device.pm')
-rw-r--r--perl-install/fs/wild_device.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/wild_device.pm b/perl-install/fs/wild_device.pm
index 5d6ea5e86..0e10f19ab 100644
--- a/perl-install/fs/wild_device.pm
+++ b/perl-install/fs/wild_device.pm
@@ -83,7 +83,7 @@ sub from_part {
'LABEL=' . $part->{device_LABEL};
} elsif ($part->{device_alias}) {
"/dev/$part->{device_alias}";
- } elsif (!$part->{prefer_device} && ($part->{prefer_device_UUID} || $::isInstall && $::o->{uuid_by_default}) && $part->{device_UUID}) {
+ } elsif (!$part->{prefer_device} && ($part->{prefer_device_UUID} || !$::no_uuid_by_default) && $part->{device_UUID}) {
'UUID=' . $part->{device_UUID};
} else {
my $faked_device = exists $part->{faked_device} ?