After upgrading to virtual/linux-sources-2 I noticed that portage tries to remove gentoo-sources during depclean. After looking at linux-sources-2.ebuild I was confused, because RDEPEND="|| ( firmware? ( sys-kernel/linux-firmware ) sys-kernel/gentoo-sources sys-kernel/vanilla-sources sys-kernel/ck-sources sys-kernel/git-sources sys-kernel/hardened-sources sys-kernel/mips-sources sys-kernel/openvz-sources sys-kernel/pf-sources sys-kernel/rt-sources sys-kernel/tuxonice-sources sys-kernel/xbox-sources sys-kernel/zen-sources sys-kernel/aufs-sources sys-kernel/raspberrypi-sources )" basically says that it is enough to have sys-kernel/linux-firmware installed if firmware flag is given which does not pull in an actual kernel sources. I think that correct RDEPEND should be as follow: RDEPEND=" firmware? ( sys-kernel/linux-firmware ) || ( sys-kernel/gentoo-sources sys-kernel/vanilla-sources sys-kernel/ck-sources sys-kernel/git-sources sys-kernel/hardened-sources sys-kernel/mips-sources sys-kernel/openvz-sources sys-kernel/pf-sources sys-kernel/rt-sources sys-kernel/tuxonice-sources sys-kernel/xbox-sources sys-kernel/zen-sources sys-kernel/aufs-sources sys-kernel/raspberrypi-sources )" Correct me if I wrong. Thanks in advance.
(In reply to Garry Filakhtov from comment #0) \ > > Correct me if I wrong. Thanks in advance. oh no. you're right. my bad and i'll fix it now.
(In reply to Anthony Basile from comment #1) > (In reply to Garry Filakhtov from comment #0) > \ > > > > Correct me if I wrong. Thanks in advance. > > oh no. you're right. my bad and i'll fix it now. please test and reopen this bug if its still a problem.
Hi Anthony, Thanks a lot for fast reaction and quick fix! I can confirm that after upgrade problem is solved. Cheers, Garry