My current kernel is 18.104.22.168-0.1-pae and does not have usb gadget support built in.If i go to /usr/src/linux (which points to src for this kernel) and include the usb gadget support and recompile it, will the resulting kernel image overwrite the existing vmlinux-22.214.171.124-0.1-pae.gz in the **/boot *folder or will it create a new image with the corresponding *menu.lst entries?
> My current kernel is -126.96.36.199-0.1-pae- and does not have usb gadget
> support built in.If i go to -/usr/src/linux- (which points to src for
> this kernel) and include the usb gadget support and recompile it, will
> the resulting kernel image overwrite the existing
> -vmlinux-188.8.131.52-0.1-pae.gz- in the *-/boot- *folder or- will it
> create a new image with the corresponding -menu.lst entries?
If you “make install”, it might. Maybe you would like to
a) Set CONFIG_LOCALVERSION to something like “…-my-usb-patches” and
have/install that in parallel to the distribution kernel.
b) Above, plus build it as a rpm.
Boot menu entries will not be created. You’ll have to add it yourself.
You can have more than one kernel coexisting independently.
Before compiling you can edit /usr/src/linux/Makefile.
You should see EXTRAVERSION there. Add something, eg.
Then “make install” wont override.
I usually build an rpm package:
make clean && make binrpm-pkg
After installing, you still have to make the initrd file
and manually add entries to /boot/grub/menu.lst for
the new kernel. Also, you will have to install the nvidia
graphics driver manually. Yast wont do it for a custom