summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-06-04 09:10:18 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-06-04 09:10:18 +0000
commitd178def517a37f909a43e970fc8ae6cb10d3af05 (patch)
tree6c50da532237d67bee082980b0398d266e903b5e
parent87b2af4f944cb3f31593ee04d691c23428f74c72 (diff)
downloaddrakx-d178def517a37f909a43e970fc8ae6cb10d3af05.tar
drakx-d178def517a37f909a43e970fc8ae6cb10d3af05.tar.gz
drakx-d178def517a37f909a43e970fc8ae6cb10d3af05.tar.bz2
drakx-d178def517a37f909a43e970fc8ae6cb10d3af05.tar.xz
drakx-d178def517a37f909a43e970fc8ae6cb10d3af05.zip
lookup major:minor of devices outside $::prefix
-rw-r--r--perl-install/NEWS4
-rw-r--r--perl-install/devices.pm4
-rw-r--r--perl-install/install/NEWS4
3 files changed, 10 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 3122cbc48..2c6a9e21f 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,7 @@
+- lookup major:minor of devices outside $::prefix
+- display lock icon for not enabled dmcrypt too
+- disable dmcrypt before deleting partition, evin if inside lvm/raid
+
Version 13.32 - 2 June 2010
- don't lose mountpoint if suggested partition was swap (#59510)
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 3b2761ad0..719472cea 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -176,8 +176,8 @@ sub entry {
# Try to access directly the device
# Now device mapper devices are links and do not appear in /proc or /sys
unless ($type) {
- if (-e "$::prefix/dev/$_") {
- my (undef,undef,$mode,undef,undef,undef,$rdev,undef) = stat("$::prefix/dev/$_");
+ if (-e "/dev/$_") {
+ my (undef,undef,$mode,undef,undef,undef,$rdev,undef) = stat("/dev/$_");
($major, $minor) = unmakedev($rdev);
$type = $mode & c::S_IFMT();
}
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 74b652fdb..5c736fea1 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,7 @@
+- lookup major:minor of devices outside $::prefix
+- display lock icon for not enabled dmcrypt too
+- disable dmcrypt before deleting partition, evin if inside lvm/raid
+
Version 13.32 - 2 June 2010
- copy all devices to target