summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2004-02-24 03:04:03 +0000
committerStew Benedict <stewb@mandriva.org>2004-02-24 03:04:03 +0000
commite58d8f52b25c30dfbdff2ed0731613ae12d54fdc (patch)
tree42b8ce4f43f3409e6e7fe1b2f5809c8438954dd8 /perl-install
parent3d72f3592ce784d9dea06c15469bc042a391b5d1 (diff)
downloaddrakx-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.tar
drakx-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.tar.gz
drakx-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.tar.bz2
drakx-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.tar.xz
drakx-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.zip
mknbi-set always wants a kernel version now.
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakTermServ3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ
index 7c56c650c..2af1c1e5a 100755
--- a/perl-install/standalone/drakTermServ
+++ b/perl-install/standalone/drakTermServ
@@ -448,7 +448,8 @@ sub make_nbis() {
my $buff = N("Creating net boot images for all kernels");
$in->ask_warn(N("Information"), N("This will take a few minutes."));
cursor_wait();
- system("/usr/bin/mknbi-set");
+ my @kernels = grep { /vmlinuz-/ } all("/boot");
+ system("/usr/bin/mknbi-set -k /boot/$_") foreach @kernels;
cursor_norm();
$buff .= "\n\n\t" . N("Done!");
text_view($buff, "wizard");