Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473274 - sys-apps/baselayout should PDEPEND on alternative init systems
Summary: sys-apps/baselayout should PDEPEND on alternative init systems
Status: RESOLVED DUPLICATE of bug 409385
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-14 15:19 UTC by Andrey Ovcharov
Modified: 2013-06-16 07:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Ovcharov 2013-06-14 15:19:52 UTC
sys-apps/openrc is default init system in gentoo. However, the current state of the upstart or sys-apps/systemd is no worse. But now:

> grep openrc /user/portage/sys-apps/baselayout/baselayout-2.2.ebuild 
PDEPEND="sys-apps/openrc"

This means sys-apps/openrc will not go away from the system when i install sys-apps/systemd.

The proposal is to replace all of the dependencies of sys-apps/openrc in all ebuild`s from current stage3 to some new virtual/any_of_all_init (like current virtual/udev but for init systems)

EAPI=5

DESCRIPTION="Virtual to select between sys-apps/openrc and sys-apps/systemd"
HOMEPAGE=""
SRC_URI=""

LICENSE=""
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND="|| ( sys-apps/openrc
	sys-apps/systemd
	upstart
	)"

The benefits: it will also use the default sys-apps/openrc however, users of alternative init system(like sys-apps/systemd for example) will be able to completely remove sys-apps/openrc.

Much work has been done in gentoo-systemd-only overlay https://github.com/canek-pelaez/gentoo-systemd-only 

It would be just great to be able to use only one of any of the available init systems. Thx.
Comment 1 William Hubbs gentoo-dev 2013-06-15 22:58:07 UTC

*** This bug has been marked as a duplicate of bug 409385 ***