View previous topic :: View next topic |
Author |
Message |
nxe9 Tux's lil' helper
Joined: 05 Jun 2021 Posts: 93
|
Posted: Tue Oct 29, 2024 2:18 am Post subject: Generate image of gentoo-kernel without rebuilding |
|
|
Hi, sys-kernel/gentoo-kernel makes maintenance kernel easier. Installing this package can e.g. create initramfs using dracut and UKI. Is there any clean way to invoke routines executed after the kernel is built? Does sys-kernel/gentoo-kernel support this scenario in any way?
Example, after installing gentoo-kernel, I decide that I would like to change the dracut configuration. I don't need to compile everything again. However, I would like everything that would take place after compilation to be executed (dracut, uki, etc.) |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3678 Location: Rasi, Finland
|
Posted: Tue Oct 29, 2024 11:36 am Post subject: |
|
|
Yes. Code: | emerge --config sys-kernel/gentoo-kernel | ... or if you have more than one version installled, then you need to specify the version of gentoo-kernel: Code: | emerge --config =sys-kernel/gentoo-kernel-<version> |
_________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
nxe9 Tux's lil' helper
Joined: 05 Jun 2021 Posts: 93
|
Posted: Tue Oct 29, 2024 10:41 pm Post subject: |
|
|
@Zucca: Thank you. Exactly what I needed. |
|
Back to top |
|
|
|