virtual/linux-sources: prevent accidental depclean

pentoo-sources may be accidently dep cleaned if other kernel sources are
installed.  Assume if pentoo or pentoo-lts flags are set that a users
wants our kernel sources
This commit is contained in:
Rick Farina (Zero_Chaos) 2022-09-01 15:43:50 -04:00
parent aa0d2f7fa1
commit e635c3e813
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -10,6 +10,9 @@ IUSE="firmware pentoo pentoo-lts"
RDEPEND="
firmware? ( sys-kernel/linux-firmware )
pentoo-lts? ( !sys-kernel/pentoo-sources[-lts(+)]
sys-kernel/pentoo-lts-sources )
pentoo? ( || ( sys-kernel/pentoo-sources sys-kernel/pentoo-lts-sources ) )
|| (
pentoo-lts? ( !sys-kernel/pentoo-sources[-lts(+)]
sys-kernel/pentoo-lts-sources )