diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-07-15 19:59:44 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-07-15 19:59:44 +0200 |
commit | a3d49067e775c640a146514d68755dc0a4c6c613 (patch) | |
tree | 238f8a13df51e60798bedb631e29ceb2f4d92197 /genkernel.conf | |
parent | linuxrc: Relax NEWROOT validation (diff) | |
download | genkernel-a3d49067e775c640a146514d68755dc0a4c6c613.tar.gz genkernel-a3d49067e775c640a146514d68755dc0a4c6c613.tar.bz2 genkernel-a3d49067e775c640a146514d68755dc0a4c6c613.zip |
Add "--module-rebuild" parameter
MODULEREBUILD option will be enabled by default.
When enabled and we are building a non-static kernel for the same
host (no cross-compile!), also building modules and install into
into a non-custom location, we will now call `emerge @module-rebuild`.
Closes: https://bugs.gentoo.org/453372
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'genkernel.conf')
-rw-r--r-- | genkernel.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/genkernel.conf b/genkernel.conf index 9d809f5..cad0297 100644 --- a/genkernel.conf +++ b/genkernel.conf @@ -156,9 +156,13 @@ NOCOLOR="false" # This supersedes the "SPLASH_THEME" option in '/etc/conf.d/splash'. #SPLASH_THEME="gentoo" +# Run "emerge @module-rebuild" automatically when possible and necessary +# after kernel and modules have been compiled +#MODULEREBUILD="yes" + # Run the specified command in the current environment after the kernel and # modules have been compiled, useful to rebuild external kernel module -# (use "emerge --quiet @module-rebuild" for >=portage-2.2) or installing additional +# (see MODULEREBUILD above) or installing additional # files (use 'copy_image_with_preserve dtb path/to/dtb dtb ${KNAME}-${ARCH}-${KV}') #CMD_CALLBACK="" |