diff options
author | Stew Benedict <stewb@mandriva.org> | 2004-02-24 03:04:03 +0000 |
---|---|---|
committer | Stew Benedict <stewb@mandriva.org> | 2004-02-24 03:04:03 +0000 |
commit | e58d8f52b25c30dfbdff2ed0731613ae12d54fdc (patch) | |
tree | 42b8ce4f43f3409e6e7fe1b2f5809c8438954dd8 /perl-install/standalone/drakTermServ | |
parent | 3d72f3592ce784d9dea06c15469bc042a391b5d1 (diff) | |
download | drakx-backup-do-not-use-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.tar drakx-backup-do-not-use-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.tar.gz drakx-backup-do-not-use-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.tar.bz2 drakx-backup-do-not-use-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.tar.xz drakx-backup-do-not-use-e58d8f52b25c30dfbdff2ed0731613ae12d54fdc.zip |
mknbi-set always wants a kernel version now.
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-x | perl-install/standalone/drakTermServ | 3 |
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"); |