diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-04 08:11:19 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-04 08:11:19 +0000 |
commit | b7756ee40c8b9798eb84d817aadf640945086295 (patch) | |
tree | e3fcc18689694707a8c7864a12662e08b55eaacd /perl-install/fs/wild_device.pm | |
parent | 2d06c5b0b1e5ea7186a0b6493413fd072672c6bc (diff) | |
download | drakx-b7756ee40c8b9798eb84d817aadf640945086295.tar drakx-b7756ee40c8b9798eb84d817aadf640945086295.tar.gz drakx-b7756ee40c8b9798eb84d817aadf640945086295.tar.bz2 drakx-b7756ee40c8b9798eb84d817aadf640945086295.tar.xz drakx-b7756ee40c8b9798eb84d817aadf640945086295.zip |
- add global variable settable via "use_uuid" on kernel cmdline
(it sets global variable $::uuid_by_default)
Diffstat (limited to 'perl-install/fs/wild_device.pm')
-rw-r--r-- | perl-install/fs/wild_device.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/wild_device.pm b/perl-install/fs/wild_device.pm index ebb391cdf..be4a43dfd 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_UUID} && $part->{device_UUID}) { + } elsif (!$part->{prefer_device} && ($part->{prefer_device_UUID} || $::uuid_by_default) && $part->{device_UUID}) { 'UUID=' . $part->{device_UUID}; } else { my $faked_device = exists $part->{faked_device} ? |