summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-26 18:22:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-26 18:22:35 +0000
commitd88f662079e5eef78dcd25cf6a18771567af02e8 (patch)
tree3bec3af8789c05fa0a42f0b26b5ebee4c75f81b4 /perl-install/install_steps.pm
parent892bee6477c534b72ea8fbad40385fe6b2147069 (diff)
downloaddrakx-d88f662079e5eef78dcd25cf6a18771567af02e8.tar
drakx-d88f662079e5eef78dcd25cf6a18771567af02e8.tar.gz
drakx-d88f662079e5eef78dcd25cf6a18771567af02e8.tar.bz2
drakx-d88f662079e5eef78dcd25cf6a18771567af02e8.tar.xz
drakx-d88f662079e5eef78dcd25cf6a18771567af02e8.zip
use run_program::rooted_get_stdout instead of `chroot $prefix ...`
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index b4f1fb97d..176f65e37 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -559,7 +559,7 @@ sub updateModulesFromFloppy {
log::l("examining updated modules for kernel $kernelVersion");
if (-d "/floppy/$kernelVersion") {
my @src_files = glob_("/floppy/$kernelVersion/*");
- my @dest_files = split "\n", `chroot $o->{prefix} find /lib/modules`;
+ my @dest_files = map { chomp_($_) } run_program::rooted_get_stdout($o->{prefix}, 'find', '/lib/modules');
foreach my $s (@src_files) {
log::l("found updatable module $s");
my ($sfile, $sext) = $s =~ /([^\/\.]*\.o)(?:\.gz|\.bz2)?$/;