summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-07-05 18:53:16 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-07-05 19:03:18 +0200
commit325ab8add83e19c9dacd1b10ef6791441660f63a (patch)
tree452909123d0b50f71978098403a9740c99f79747 /perl-install/install/steps.pm
parent767048570e8c44061cb0d6faf689698d3313870c (diff)
downloaddrakx-325ab8add83e19c9dacd1b10ef6791441660f63a.tar
drakx-325ab8add83e19c9dacd1b10ef6791441660f63a.tar.gz
drakx-325ab8add83e19c9dacd1b10ef6791441660f63a.tar.bz2
drakx-325ab8add83e19c9dacd1b10ef6791441660f63a.tar.xz
drakx-325ab8add83e19c9dacd1b10ef6791441660f63a.zip
restrict fdisk -l output to usefull disks
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r--perl-install/install/steps.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index a58b70b7c..aa3d6b4ec 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -176,7 +176,7 @@ sub selectInstallClass {
#------------------------------------------------------------------------------
sub doPartitionDisksBefore {
my ($o) = @_;
- log::l("fdisk before:\n" . `fdisk -l`);
+ log::l("fdisk before:\n" . any::fdisk());
eval {
eval { fs::mount::umount("$::prefix/sys/kernel/debug/usb") };
eval { fs::mount::umount("$::prefix/sys") };
@@ -191,7 +191,7 @@ sub doPartitionDisksAfter {
my ($o) = @_;
fs::any::write_hds($o->{all_hds}, $o->{fstab}, !$o->{isUpgrade}, sub { $o->rebootNeeded }, $o);
- log::l("fdisk after\n" . `fdisk -l`);
+ log::l("fdisk after\n" . any::fdisk());
if ($::local_install) {
my $p = fs::get::mntpoint2part($::prefix, [ fs::read_fstab('', '/proc/mounts') ]);