commit:     964539c82ff926fad5173556d0261461050896fd
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 22 16:38:05 2015 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Sep 22 16:38:05 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964539c8

chromium.eclass: Fix kernel checks

As reported by Dennis Schridde, the chkconfig functions prepend
CONFIG_ to the options, so we should not include it.

Bug: https://bugs.gentoo.org/552576

 eclass/chromium.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass
index 1d442f4..8b016c9 100644
--- a/eclass/chromium.eclass
+++ b/eclass/chromium.eclass
@@ -37,7 +37,7 @@ chromium_suid_sandbox_check_kernel_config() {
                # (bug #552576, bug #556286).
                ERROR_CONFIG_ADVISE_SYSCALLS="CONFIG_ADVISE_SYSCALLS is 
required for the renderer (bug #552576)"
                ERROR_CONFIG_COMPAT_VDSO="CONFIG_COMPAT_VDSO causes segfaults 
(bug #556286)"
-               CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER ~USER_NS 
~CONFIG_ADVISE_SYSCALLS ~!CONFIG_COMPAT_VDSO"
+               CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER ~USER_NS 
~ADVISE_SYSCALLS ~!COMPAT_VDSO"
                check_extra_config
        fi
 }

Reply via email to