summaryrefslogtreecommitdiff
path: root/pcr/openrc
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-07-30 14:14:27 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-07-30 16:12:06 -0400
commit722b22db8e503201f1f9d2492271b8abd5974303 (patch)
tree2f32ea8ef291ca38eb70b3bb58b2653bcb233900 /pcr/openrc
parent00587179506417326fd0f4cd9a758e38ce730c9f (diff)
pcr/openrc: openrc: depend on 'openrc-pid1', not 'init'
Also: - openrc-init: Drop conflicts=(systemd-sysvcompat sysvinit), both of those packages no provides=(init), so that init packages won't have to each maintain a growing list of other inits.
Diffstat (limited to 'pcr/openrc')
-rw-r--r--pcr/openrc/PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD
index e2c0ec74f..f353ee8e4 100644
--- a/pcr/openrc/PKGBUILD
+++ b/pcr/openrc/PKGBUILD
@@ -50,7 +50,7 @@ build(){
package_openrc() {
pkgdesc="Gentoo's universal init system"
groups=('base-openrc')
- depends=('psmisc' 'pam' 'init')
+ depends=('psmisc' 'pam' 'openrc-pid1')
optdepends=('netifrc: Network Interface Management Scripts'
'networkmanager-openrc: NetworkManager')
backup=('etc/rc.conf'
@@ -94,10 +94,8 @@ package_openrc-init() {
pkgdesc="OpenRC alternative to sysvinit"
groups=('base-openrc')
depends=('openrc')
- provides=('init')
- groups=('init')
- conflicts=('systemd-sysvcompat' 'sysvinit' 'init')
- replaces=('sysvinit')
+ provides=('openrc-pid1' 'init')
+ conflicts=('openrc-pid1' 'init')
cd ${srcdir}
install -d ${pkgdir}/usr/bin/ \