summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2024-02-26 16:23:28 -0500
committerMike Gilbert <floppym@gentoo.org>2024-02-26 16:26:46 -0500
commit657d6906141acef288fa31c5ffcc9641795a7337 (patch)
tree69e1c1a51d7bd894971dec6dac919cf1f2d9df8a /sys-apps/sysvinit
parentmedia-sound/mac: stabilize 10.46 for ppc64 (diff)
downloadgentoo-657d6906141acef288fa31c5ffcc9641795a7337.tar.gz
gentoo-657d6906141acef288fa31c5ffcc9641795a7337.tar.bz2
gentoo-657d6906141acef288fa31c5ffcc9641795a7337.zip
sys-apps/sysvinit: fix install with EPREFIX set
Closes: https://bugs.gentoo.org/925554 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r--sys-apps/sysvinit/sysvinit-3.08.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/sysvinit/sysvinit-3.08.ebuild b/sys-apps/sysvinit/sysvinit-3.08.ebuild
index f5abf9ccf170..e0191c1ef4c4 100644
--- a/sys-apps/sysvinit/sysvinit-3.08.ebuild
+++ b/sys-apps/sysvinit/sysvinit-3.08.ebuild
@@ -141,7 +141,7 @@ src_compile() {
}
src_install() {
- emake -C src install ROOT="${D}"
+ emake -C src install ROOT="${ED}"
dodoc README doc/*
insinto /etc
@@ -173,7 +173,7 @@ pkg_postinst() {
# Reload init to fix unmounting problems of / on next reboot.
# This is really needed, as without the new version of init cause init
# not to quit properly on reboot, and causes a fsck of / on next reboot.
- if [[ -z ${ROOT} ]] ; then
+ if [[ -z ${EROOT} ]] ; then
if [[ -e /dev/initctl ]] && [[ ! -e /run/initctl ]] ; then
ln -s /dev/initctl /run/initctl \
|| ewarn "Failed to set /run/initctl symlink!"