mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-apps/s6-linux-init: Fix sysv-utils location and deps
Closes: https://bugs.gentoo.org/688456 Signed-off-by: Samuel Holland <samuel@sholland.org> Closes: https://github.com/gentoo/gentoo/pull/12305 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
committed by
Michał Górny
parent
c69cf51130
commit
92ad11511a
@@ -17,6 +17,10 @@ REQUIRED_USE="static? ( static-libs )"
|
||||
RDEPEND=">=dev-lang/execline-2.5.1.0:=[static-libs?]
|
||||
>=dev-libs/skalibs-2.8.1.0:=[static-libs?]
|
||||
>=sys-apps/s6-2.8.0.1:=[static-libs?]
|
||||
sysv-utils? (
|
||||
!sys-apps/systemd[sysv-utils]
|
||||
!sys-apps/sysvinit
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
@@ -51,6 +55,7 @@ src_install() {
|
||||
|
||||
if use sysv-utils ; then
|
||||
"${D}/bin/s6-linux-init-maker" -f "${D}/etc/s6-linux-init/skel" "${T}/dir" || die
|
||||
into /
|
||||
dosbin "${T}/dir/bin"/{halt,poweroff,reboot,shutdown,telinit}
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user