Hi,
The new installkernel script in latest initscripts (5.61.1-2mdk) seems
to install the kernel directly as <vmlinuz,System.map>, instead of
<vmlinuz-$version,System-map-$version>. Any reason ? I preferred the old
behaviour, mainly for dealing with various kernels.
Also, if you do not say you want a lilo or grub entry, and no autodetect,
the script gives an error, so it stops the kernel build abnormally (at least
with standard kernel trees), because installkernel is called this way:
/sbin/installkernel 2.4.2-ac19 bzImage /usr/src/linux-2.4.2-ac19/System.map
/boot
Cannot find a boot loader, you may have to see why detectloader has
problems or specify via the command line.
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.2-ac19/arch/i386/boot'
make: *** [install] Error 2
Problem is that installkernel is not called with -l, nor -g nor -a. I think
AUTODETECT should be automatic if no other flags (-l or -g) are given.
Please, can you specify the logic for installkernel ?
For example (X is vmlinuz or System.map):
Default behaviour:
- check for installed X-$version and moves to X-$version.old
- installs X-$version
- if no bootloader forced (-l,-g), autodetect
- add entry for bootloader with X-$version
- run lilo if needed
Option -d (install as default) also:
- checks for X, and saves as X.old
- symlinks X to just installed X-$version
The idea is that if you type just installkernel ..... (no options), you get
your kernel in /boot, and a lilo or grub entry, and lilo run if needed.
That is what the standard kernel makefile expects. Now that process is broken.
--
J.A. Magallon $> cd pub
mailto:[EMAIL PROTECTED] $> more beer
Linux werewolf 2.4.2-ac19 #3 SMP Mon Mar 12 23:50:29 CET 2001 i686