I believe the profiles/hardened/x86/2.6/virtuals should contain the line virtual/linux-sources sys-kernel/hardened-dev-sources to correctly emerge the 2.6 kernel Reproducible: Always Steps to Reproduce: 1. change profile to hardened/x86/2.6 2. emerge -e world Actual Results: emerges hardened-sources among others Expected Results: emerging hardened-dev-sources among others
Additionally the headers should be from 2.6 as well: virtual/os-headers sys-kernel/linux26-headers
hardened-sources now contains the 2.6 kernel, as do linux-headers (I believe hardened-dev-sources and linux26-headers are being phased out).
2.6 is still masked, so instead of virtuals we'd perhaps want to unmask this.
The 2.6 profile no longer has a mask on any of the 2.6 series kernels, not sure when this was added exactly, but the expected and actual behavior is now for hardened-sources-2.6 to be installed.