public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/1] linux-info.eclass: Add SKIP_KERNEL_CHECK in addl funcs to support tinderbox
@ 2022-09-02 19:19 Mike Pagano
  2022-09-03  8:49 ` [gentoo-dev] " Toralf Förster
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Pagano @ 2022-09-02 19:19 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1.1: Type: text/plain, Size: 2126 bytes --]


Signed-off-by: Mike Pagano <mpagano@gentoo.org>
---
  eclass/linux-info.eclass | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 82bc7fe53..fc125b0d7 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.eclass
@@ -374,6 +374,7 @@ require_configured_kernel() {
  # If linux_config_exists returns false, the results of this are UNDEFINED. You
  # MUST call linux_config_exists first.
  linux_chkconfig_present() {
+	[[ -n ${SKIP_KERNEL_CHECK} ]] && return
  	linux_config_qa_check linux_chkconfig_present
  	[[ $(getfilevar_noexec "CONFIG_$1" "$(linux_config_path)") == [my] ]]
  }
@@ -386,6 +387,7 @@ linux_chkconfig_present() {
  # If linux_config_exists returns false, the results of this are UNDEFINED. You
  # MUST call linux_config_exists first.
  linux_chkconfig_module() {
+	[[ -n ${SKIP_KERNEL_CHECK} ]] && return
  	linux_config_qa_check linux_chkconfig_module
  	[[ $(getfilevar_noexec "CONFIG_$1" "$(linux_config_path)") == m ]]
  }
@@ -398,6 +400,7 @@ linux_chkconfig_module() {
  # If linux_config_exists returns false, the results of this are UNDEFINED. You
  # MUST call linux_config_exists first.
  linux_chkconfig_builtin() {
+	[[ -n ${SKIP_KERNEL_CHECK} ]] && return
  	linux_config_qa_check linux_chkconfig_builtin
  	[[ $(getfilevar_noexec "CONFIG_$1" "$(linux_config_path)") == y ]]
  }
@@ -410,6 +413,7 @@ linux_chkconfig_builtin() {
  # If linux_config_exists returns false, the results of this are UNDEFINED. You
  # MUST call linux_config_exists first.
  linux_chkconfig_string() {
+	[[ -n ${SKIP_KERNEL_CHECK} ]] && return
  	linux_config_qa_check linux_chkconfig_string
  	getfilevar_noexec "CONFIG_$1" "$(linux_config_path)"
  }
@@ -472,6 +476,7 @@ kernel_is() {
  # - make is not present
  # - corruption exists in the kernel makefile
  get_makefile_extract_function() {
+	[[ -n ${SKIP_KERNEL_CHECK} ]] && return
  	local a='' b='' mkfunc='getfilevar'
  	a="$(getfilevar VERSION ${KERNEL_MAKEFILE})"
  	b="$(getfilevar_noexec VERSION ${KERNEL_MAKEFILE})"
-- 
2.35.1



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 14179 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-dev] Re: [PATCH 1/1] linux-info.eclass: Add SKIP_KERNEL_CHECK in addl funcs to support tinderbox
  2022-09-02 19:19 [gentoo-dev] [PATCH 1/1] linux-info.eclass: Add SKIP_KERNEL_CHECK in addl funcs to support tinderbox Mike Pagano
@ 2022-09-03  8:49 ` Toralf Förster
  2022-09-03  8:51   ` Agostino Sarubbo
  0 siblings, 1 reply; 3+ messages in thread
From: Toralf Förster @ 2022-09-03  8:49 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 206 bytes --]

On 9/2/22 21:19, Mike Pagano wrote:
> +    [[ -n ${SKIP_KERNEL_CHECK} ]] && return

Sounds promising, so SKIP_KERNEL_CHECK="y" in make.conf will make it ?

-- 
Toralf
PGP 23217DA7 9B888F45

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] Re: [PATCH 1/1] linux-info.eclass: Add SKIP_KERNEL_CHECK in addl funcs to support tinderbox
  2022-09-03  8:49 ` [gentoo-dev] " Toralf Förster
@ 2022-09-03  8:51   ` Agostino Sarubbo
  0 siblings, 0 replies; 3+ messages in thread
From: Agostino Sarubbo @ 2022-09-03  8:51 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

On sabato 3 settembre 2022 10:49:01 CEST Toralf 
Förster wrote:
> Sounds promising, so SKIP_KERNEL_CHECK="y" in 
make.conf will make it ?

right.

Agostino


[-- Attachment #2: Type: text/html, Size: 599 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-03  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-02 19:19 [gentoo-dev] [PATCH 1/1] linux-info.eclass: Add SKIP_KERNEL_CHECK in addl funcs to support tinderbox Mike Pagano
2022-09-03  8:49 ` [gentoo-dev] " Toralf Förster
2022-09-03  8:51   ` Agostino Sarubbo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox