summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-11-06 20:33:46 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-11-06 20:33:50 +0100
commitff507f298b565878fd89a22e10dc4f8159e3b6a7 (patch)
treed9ad44df9a1f5b0e742d8b2e0186bead4497f4d2 /draklive
parent213b00300713555b29305ac0de530b1c80f7be85 (diff)
downloaddrakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.tar
drakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.tar.gz
drakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.tar.bz2
drakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.tar.xz
drakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.zip
silent perl_checker
this parameter is optional
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index 578f628..4c7b927 100755
--- a/draklive
+++ b/draklive
@@ -1314,7 +1314,7 @@ sub create_vm_image {
}
sub get_rescue_files {
- my ($live, $rescue_opts, $extra_files) = @_;
+ my ($live, $rescue_opts, $o_extra_files) = @_;
my $media_boot = $live->get_media_prefix('boot');
my $initrd = $media_boot . $rescue_opts->{media}->get_initrd_path;
my @stage2_files = $live->{settings}{replicator_type} eq 'drakx' ? (
@@ -1325,7 +1325,7 @@ sub get_rescue_files {
'/usr/lib/drakx-installer-images/isolinux/alt0/vmlinuz' => $media_boot . '/vmlinuz',
'/usr/lib/drakx-installer-images/isolinux/alt0/all.rdz' => $initrd,
(map { $_ => '/install/stage2/' } @stage2_files),
- @{$extra_files || []},
+ @{$o_extra_files || []},
#- FIXME: factorize with copy_files_to to handle glob
(map { $live->{settings}{config_root} . '/' . $_->[0] => '/' . $_->[1] } @{$rescue_opts->{files} || []}),
);