My very own Kernel build script for Debian/Ubuntu-based systems
https://launchpad.net/kernel-setup-sh
It can be easily ported to RPM or Pacman-based systems, however, just by editing line 4. |
Good work, but wouldn't it be the correct way to make a package from the compiled kernel and then to install the package? This way your script would be compatible with DKMS and the kernelmodules for Virtualbox, proprietary drivers and so would be automatically compiled to fit the new build kernel. The way you do it Virtualbox, nVidia drivers, ATI drivers, etc will not work with the newly installed kernel. You can find more info for building packages from kernels here.
|
The problem is that that would conflict with my intention to have the script be able to allow you to customize the kernel (i.e. install only those modules to support *your* hardware) without having to run all those extra commands. That's why this script runs 'make xconfig' by itself in the first place!
|
Nothing wrong in running make xconfig, the packaging into a .deb-file is done at compiling time.
|
Okay, now version 2 of the script includes the kernel package option.
|
I have some questions, and some suggestions regarding your script:
By the way, as I already said, good work. |
All times are GMT -5. The time now is 04:49 AM. |