summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index bd63f664c..722cf27c5 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -314,7 +314,7 @@ sub lnx4win_postinstall {
my $dir = "/dos/lnx4win";
my $kernel = "$dir/vmlinuz";
rename $kernel, "$kernel.old";
- commands::cp("-f", "$prefix/boot/vmlinuz", $kernel);
+ commands::dd("if=$prefix/boot/vmlinuz", "of=$kernel");
unlink "$dir/size.txt";
unlink "$dir/swapfile.txt";