chromium.eclass: Fix kernel checks
authorMike Gilbert <floppym@gentoo.org>
Tue, 22 Sep 2015 16:38:05 +0000 (12:38 -0400)
committerMike Gilbert <floppym@gentoo.org>
Tue, 22 Sep 2015 16:38:05 +0000 (12:38 -0400)
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

index 1d442f4df6f90850afebf0738a635746d6e45af4..8b016c9226d9d3c6491d175667340970b183c87f 100644 (file)
@@ -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
 }