Re: Patch: Support for grub at installation time

Harald Dunkel (harri@synopsys.COM)
Sun, 23 Dec 2001 21:54:37 +0100


Keith Owens wrote:
>
> On Sun, 23 Dec 2001 15:39:59 +0100,
> Harald Dunkel <harri@synopsys.COM> wrote:
> >Below you can find a tiny patch to add 2 new targets to the top level
> >Makefile: bzgrub and zgrub. This is a suggestion about how the Grub
>
> I am removing all the special targets that have crept into kbuild,
> including zlilo, I do not want to add any new boot targets. It is the
> job of the kernel makefiles to build the kernel, install the kernel and
> modules and that is all. Anything after the kernel and modules have
> been installed is not the job of kbuild. There is too much special
> case code in the kernel makefiles, some of which only works for a few
> users.
>
> All is not lost, however. kbuild 2.5 has a config option to run a
> post-install script. You can specify any script that you want and that
> script is responsible for doing whatever you want after the kernel and
> modules install. There is a sample in scripts/lilo_new_kernel:
>

Currently there are just 2 ways to install the freshly build kernel
outside of the source tree: 'make bzlilo' and 'make install'. Both
call lilo, if the executable can be found. Its good to hear that this
is going to be removed.

My patch is not for kbuild 2.5, but for the current Makefiles in the
kernel sources. I am eager to check the new features you provide when
kbuild 2.5 or a newer version is included for one of the future kernels,
but since then I would suggest to consider my patch.

If you have kbuild for 2.4.16 completed, please send me a note. I would
like to try it.

Regards

Harri
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/