On 04/27/2018 11:43 AM, Rich Freeman wrote: > On Fri, Apr 27, 2018 at 2:18 PM Zac Medico <zmed...@gentoo.org> wrote: > >> Actually, if things like sys-apps/s6 or sys-process/runit remain as >> choices for virtual/init, this isn't going to solve the problem of >> sys-apps/sysvinit being removed by emerge --depclean. In fact, if >> virtual/init is not in the system set, then emerge --depclean will not >> even warn about removing a system package when it removes > sys-apps/sysvinit. > > Well, at least we don't have to worry about users accidentally uninstalling > openssh, nano, or e2fsprogs (too bad if they use any other filesystem > though). :) > > In general we don't have a great way of telling portage what we're actually > using when various packages do more than one thing. If you have busybox > installed you could conceivably remove a lot of other packages, but most > users don't actually intend for this to happen. > > A USE flag that just pulls in a dep seems like the least evil solution > unless somebody wants to come up with a more general one.
A general solution might take the form of a standard interface for interaction between eselect modules and package managers, as discussed in this bug about telling the package manager which kernel you're using: https://bugs.gentoo.org/283587 -- Thanks, Zac
signature.asc
Description: OpenPGP digital signature