[arch-general] kernel compilation
hello members, I'm not used to compiling and therefore even less to compiling the kernel.... I followed the instructions given by this page <https://wiki.archlinux.org/index.php/Kernel/Arch_Build_System>. after compilation, if I modify/patch file src/linux-4.19/block/blk-core.c, do I have to replace the kernel ? the kernel and all its modules ? or just the module concerned by the change (if it concerns a module) ? regards, lacsaP.
I'm not used to compiling and therefore even less to compiling the kernel....
Is it even necessary for you to compile it at all, Pascal? There are several kernels already available, such as lts, hardened, and zen, and
On Thu, Mar 28, 2019 at 10:26 AM Pascal via arch-general < arch-general@archlinux.org> wrote: possibly even more on the AUR[1] [1] https://aur.archlinux.org
Am 28.03.19 um 11:25 schrieb Pascal via arch-general:
after compilation, if I modify/patch file src/linux-4.19/block/blk-core.c, do I have to replace the kernel ? the kernel and all its modules ? or just the module concerned by the change (if it concerns a module) ?
You just need to replace the affected binaries, if kernel version and all configuration stays the same. Of course it would be better to make a proper package. You may package out-of-tree modules separately, but you need a full kernel package for in-tree modules. Have a look at the PKGBUILDs in the repositories. There are examples for both. KR
participants (3)
-
Andy Pieters
-
Markus Schaaf
-
Pascal