[gentoo-dev] [PATCH 1/1] linux-info.eclass: Chk for .config/config.gz when CONFIG_* req

2023-01-15 Thread Mike Pagano
In the instance where CONFIG_* settings are required and not optional, make sure there is either a .config or a config.gz to check Signed-off-by: Mike Pagano --- eclass/linux-info.eclass | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eclass/linux-info.eclass b/ec

Re: [gentoo-dev] [PATCH 1/1] linux-info.eclass: Add /proc/config.gz as a valid src of CONFIG_* settings

2023-01-15 Thread Mike Pagano
On 1/15/23 15:16, Mike Gilbert wrote: On Sun, Jan 15, 2023 at 12:40 PM Mike Pagano wrote: In the event that the linux src tree does not have a valid .config, check for /proc/config.gz Bug: https://bugs.gentoo.org/890720 I think this is the wrong place to "fix" bug 890720. We already have a

Re: [gentoo-dev] [PATCH 1/1] linux-info.eclass: Add /proc/config.gz as a valid src of CONFIG_* settings

2023-01-15 Thread Mike Gilbert
On Sun, Jan 15, 2023 at 12:40 PM Mike Pagano wrote: > > In the event that the linux src tree does not have > a valid .config, check for /proc/config.gz > > Bug: https://bugs.gentoo.org/890720 I think this is the wrong place to "fix" bug 890720. We already have a linux_config_exists function. Thi

Re: [gentoo-dev] [PATCH 1/1] linux-info.eclass: Add /proc/config.gz as a valid src of CONFIG_* settings

2023-01-15 Thread Oskari Pirhonen
On Sun, Jan 15, 2023 at 12:40:12 -0500, Mike Pagano wrote: > In the event that the linux src tree does not have > a valid .config, check for /proc/config.gz > What about checking /boot/config-[version] as a backup as well? Since the standard `make install` for the kernel drops the config used to

[gentoo-dev] [PATCH 1/1] linux-info.eclass: Add /proc/config.gz as a valid src of CONFIG_* settings

2023-01-15 Thread Mike Pagano
In the event that the linux src tree does not have a valid .config, check for /proc/config.gz Bug: https://bugs.gentoo.org/890720 Signed-off-by: Mike Pagano --- eclass/linux-info.eclass | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/eclass/linux-info.eclass b