[lkml]   [2001]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: is 2.4.15 really available at
On 24 Nov 2001 12:01:00 +0200, (Kai Henningsen) wrote:
> (Michael H. Warfield) wrote on 23.11.01 in <>:
>> I typically keep 4 to six fall back versions in each of the
>> 2.2 and 2.4 lines active and want (or occasionally need) to target specific
>> versions, especially when I'm testing preX kernels and my device driver.
>> You are way TOO simple.
>I keep more (though I really don't need that many) ... and I *do* add text
>to kernel names myself.
>So I wrote a (very quick-and-dirty) little Perl script. Maybe a variant of
>that works for other people, too.

kbuild 2.5 has standard support for running user specific install
scripts after installing the bootable kernel and modules. That is, the
"update my bootloader" phase can be automated and will propagate from
one .config to the next when you make oldconfig.

bool 'Run a post-install script or command' CONFIG_INSTALL_SCRIPT
if [ "$CONFIG_INSTALL_SCRIPT" = "y" ]; then
string ' Post-install script or command name' CONFIG_INSTALL_SCRIPT_NAME ""

$(CONFIG_INSTALL_SCRIPT_NAME) is run with several environment variables
set, including the kernel release. There is a sample install script in
scripts/lilo_new_kernel which will satisfy most people, if not you can
copy and edit it to suit.

# This is a sample script to add a new kernel to /etc/lilo.conf. If it
# does not do what you want, copy this script to somewhere outside the
# kernel, change the copy and point your .config at the modified copy.
# Then you do not need to change the script when you upgrade your kernel.

label=$(echo "$KERNELRELEASE" | cut -c1-15)
if ! grep "label=$label\$" /etc/lilo.conf > /dev/null
ed /etc/lilo.conf > /dev/null 2>&1 <<EODATA

if [ ! $? ]
echo edit of /etc/lilo.conf failed
exit 1

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.080 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site