diff options
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/make_boot_img b/make_boot_img index dbc62f4b2..ab0747576 100755 --- a/make_boot_img +++ b/make_boot_img @@ -67,6 +67,11 @@ if ($arch =~ /i.86/ && $img =~ /all/) { isolinux($main, @kernels); } +if (my ($tftpboot) = grep { -e $_ } qw(/tftpboot /var/lib/tftpboot)) { + system("/bin/cp -f all.kernels/$main/boot/vmlinu* $tftpboot/vmlinuz 2>/dev/null"); + system("/bin/cp -f images/network.rdz-$main $tftpboot/network.rdz 2>/dev/null"); +} + sub install_stripped { _ "strip $_[0]"; _ "$sudo install $_[0] $_[1]" } sub initrd { |