Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 862315 - linux-mod - linux-info: add a way to skip checks when it is a chroot
Summary: linux-mod - linux-info: add a way to skip checks when it is a chroot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-30 08:55 UTC by Agostino Sarubbo
Modified: 2022-08-07 20:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-30 08:55:44 UTC
When you are compiling in chroot, the checks related to CONFIG_CHECK are somehow done into the wrong kernel (guest instead of host) so would be great in case of test purpose, have something to skip those checks and go ahead.

Have something like check-reqs.eclass is doing with I_KNOW_WHAT_I_AM_DOING would be fine.

Thanks
Comment 1 Larry the Git Cow gentoo-dev 2022-08-07 20:26:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=003ffa2521daf2f95687142d64d6fb7599043f06

commit 003ffa2521daf2f95687142d64d6fb7599043f06
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2022-08-07 20:25:23 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2022-08-07 20:25:23 +0000

    linux-info.eclass: Provide ability to skip CONFIG_* checks
    
    Provide support for users who requested the ability to skip
    CONFIG_* checks. (e.g. from within a chroot for testing purposes)
    
    Closes: https://bugs.gentoo.org/862315
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 eclass/linux-info.eclass | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)