diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-06 20:33:46 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-06 20:33:50 +0100 |
commit | ff507f298b565878fd89a22e10dc4f8159e3b6a7 (patch) | |
tree | d9ad44df9a1f5b0e742d8b2e0186bead4497f4d2 | |
parent | 213b00300713555b29305ac0de530b1c80f7be85 (diff) | |
download | drakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.tar drakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.tar.gz drakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.tar.bz2 drakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.tar.xz drakiso-ff507f298b565878fd89a22e10dc4f8159e3b6a7.zip |
silent perl_checker
this parameter is optional
-rw-r--r-- | .perl_checker | 1 | ||||
-rwxr-xr-x | draklive | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.perl_checker b/.perl_checker index d9de1fd..473c84d 100644 --- a/.perl_checker +++ b/.perl_checker @@ -1,2 +1 @@ -urpm::media urpm::parallel @@ -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} || []}), ); |