From 25358c09c9b5c0e7132eb852d2cbbee96b5596fc Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 19 Mar 2008 14:56:56 +0000 Subject: use UUID by default (for diskdrake and draklive-install) --- perl-install/fs/wild_device.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs') 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} ? -- cgit v1.2.1