commit:     80087c60c3fe8c2ab5228bfd00aaa099f8e641b4
Author:     Ian Jordan <immoloism <AT> gmail <DOT> com>
AuthorDate: Wed Dec  3 15:20:46 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Dec  6 02:05:50 2025 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=80087c60

Disable installkernel chroot check

>sys-kernel/installkernel now has a chroot detection script.
This will cause any kernel above 6.16 to error out during
the kernel phasee.

This change will disable that test and allow us to use
installkernel as we always have.

Testewd on riscv64 diskimage abd amd64 livegui

Signed-off-by: Ian Jordan <immoloism <AT> gmail.com>
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 targets/support/pre-distkmerge.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/targets/support/pre-distkmerge.sh 
b/targets/support/pre-distkmerge.sh
index 08409a93..3d731808 100644
--- a/targets/support/pre-distkmerge.sh
+++ b/targets/support/pre-distkmerge.sh
@@ -4,4 +4,7 @@ RUN_DEFAULT_FUNCS="yes"
 
 source /tmp/chroot-functions.sh
 
+# Disable chroot check in installkernel
+touch /etc/kernel/install.d/05-check-chroot.install
+
 run_merge --oneshot sys-kernel/dracut

Reply via email to