summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-10-09 08:24:54 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-10-09 08:25:04 -0400
commit67ccafaa8c26b86264bd85bebc1dc66970f15a03 (patch)
tree7e3b85fc2852e7e679e3f9db0b35bef963d9ba20 /eclass/kernel-2.eclass
parentnet-nds/shelldap: version bump, drop old (diff)
downloadgentoo-67ccafaa8c26b86264bd85bebc1dc66970f15a03.tar.gz
gentoo-67ccafaa8c26b86264bd85bebc1dc66970f15a03.tar.bz2
gentoo-67ccafaa8c26b86264bd85bebc1dc66970f15a03.zip
kernel-2.eclass: deblobbed kernels are supported for security, bug #555878.
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass11
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 94231ecee5c5..0f47b8c3db80 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -798,10 +798,13 @@ postinst_sources() {
# if we have USE=symlink, then force K_SYMLINK=1
use symlink && K_SYMLINK=1
- # if we're using a deblobbed kernel, it's not supported
- [[ $K_DEBLOB_AVAILABLE == 1 ]] && \
- use deblob && \
- K_SECURITY_UNSUPPORTED=deblob
+ # We do support security on a deblobbed kernel, bug #555878.
+ # If some particular kernel version doesn't have security
+ # supported because of USE=deblob or otherwise, one can still
+ # set K_SECURITY_UNSUPPORTED on a per ebuild basis.
+ #[[ $K_DEBLOB_AVAILABLE == 1 ]] && \
+ # use deblob && \
+ # K_SECURITY_UNSUPPORTED=deblob
# if we are to forcably symlink, delete it if it already exists first.
if [[ ${K_SYMLINK} > 0 ]]; then