Created attachment 583684 [details, diff] adding "_" into triplet mask sys-kernel/genkernel-4.0.0_beta6 --cross-compile= validation fails on "_" (x86_64-*). Adding "_" into pattern is trivial.
Thank you for the report. I am going to pick a different regex -- this is only a basic check to bail out earlier to save time so it can be even more relaxed.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a1060b6f27a547b28a5c603768b43cfa84137ec0 commit a1060b6f27a547b28a5c603768b43cfa84137ec0 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-07-20 12:03:28 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-07-20 12:03:28 +0000 gen_funcs.sh: is_valid_triplet(): Relax regex Bug: https://bugs.gentoo.org/690262 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> gen_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Released with >=sys-kernel/genkernel-4.0.0_beta8.