qemu-utils
netcat-openbsd));
if ($ho->{Suite} !~ m/squeeze|wheezy|jessie/) {
- target_install_packages($ho, 'net-tools libnl-route-3-200');
+ target_install_packages($ho, qw(net-tools libnl-route-3-200));
}
if ($ho->{Suite} =~ m/jessie/) {
- target_install_packages($ho, 'libnl-route-3-200');
+ target_install_packages($ho, qw(libnl-route-3-200));
}
target_install_packages($ho,
$ho->{Suite} =~ /squeeze/ ? "libyajl1" : "libyajl2");
if ($ho->{Suite} !~ m/lenny|squeeze/) {
- target_install_packages($ho, 'libfdt1');
+ target_install_packages($ho, qw(libfdt1));
}
if ($r{arch} eq 'i386') {
- target_install_packages($ho, 'libc6-xen');
+ target_install_packages($ho, qw(libc6-xen));
}
target_install_packages($ho, @{toolstack($ho)->{ExtraPackages}})
if toolstack($ho)->{ExtraPackages};
$ontarget = "extrapackages-$cfgvar-$counter"; $counter++;
$dpkgopts = '-iGROEB';
logm("$cfgvar: updating packages from directory $path");
- target_install_packages($ho, 'rsync') unless $rsync_installed++;
+ target_install_packages($ho, qw(rsync)) unless $rsync_installed++;
target_putfile_root($ho,300, "$path/.", $ontarget, '-r');
} elsif ($path =~ m{\.deb$}) {
$path =~ s{_\.deb}{ "_$r{arch}.deb" }e;