1 |
On Sat, 1 Jan 2022 15:44:51 +0000, Wols Lists wrote: |
2 |
|
3 |
> > Compiling the kernel and modules? Replace 1 with |
4 |
> > |
5 |
> > make all modules_install install |
6 |
> > |
7 |
> > There's also the matter of the initramfs, one of the main reasons |
8 |
> > people use genkernel, although I prefer dracut for this. |
9 |
> > |
10 |
> > |
11 |
> until you trip over genkernel's "features" ... like AUTOMOUNT_BOOT, |
12 |
> which doesn't work, by design. Or NO_INSTALL, which does rather more |
13 |
> than just not installing ... |
14 |
> |
15 |
> I'm investigating source_mage, and ought to investigate dracut. |
16 |
|
17 |
Once you have a working kernel, there's very little to do on updates. A |
18 |
script that runs |
19 |
|
20 |
cd /usr/src/linux |
21 |
zcate /proc/config.gz >.config |
22 |
make oldconfig |
23 |
make all modules_install install |
24 |
dracut --kver=$(cat include/config/kernel.release) --xz |
25 |
update the bootloader |
26 |
|
27 |
mostly does it all, with a few frills thrown in to cover things like |
28 |
rebuilding modules. |
29 |
|
30 |
|
31 |
-- |
32 |
Neil Bothwick |
33 |
|
34 |
Windoze95 Quote: Why is the Pentium 166 so fast? - Its for booting |
35 |
faster, if Windows crashed again. |