summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-01-25 12:07:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-01-25 12:07:02 +0000
commit03bac75a8578f21eca244e7c4610c941aa99c8b0 (patch)
treec8c490e423735a2f7a1a52b5852c422ec7d16868 /make_boot_img
parentdf5631d587066b6c768d3eb4466be9374f3f7cc1 (diff)
downloaddrakx-03bac75a8578f21eca244e7c4610c941aa99c8b0.tar
drakx-03bac75a8578f21eca244e7c4610c941aa99c8b0.tar.gz
drakx-03bac75a8578f21eca244e7c4610c941aa99c8b0.tar.bz2
drakx-03bac75a8578f21eca244e7c4610c941aa99c8b0.tar.xz
drakx-03bac75a8578f21eca244e7c4610c941aa99c8b0.zip
use latest /RPMS/kernel-BOOT-*.rpm (and some hacks to update tftpboot directory)
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img5
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 {