public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/runit/
Date: Mon,  7 Oct 2024 15:33:05 +0000 (UTC)	[thread overview]
Message-ID: <1728315062.cb893880b4741d78a58b005a005985bbf7dc0dd8.floppym@gentoo> (raw)

commit:     cb893880b4741d78a58b005a005985bbf7dc0dd8
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Mon Sep  9 08:55:05 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Oct  7 15:31:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb893880

sys-process/runit: fix path issue

1. install binary to /usr (remove 'into /')
2. handle symlink of /sbin/runsvdir-start by USE split-usr

Closes: https://bugs.gentoo.org/904989
Closes: https://bugs.gentoo.org/935656
Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38531
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../runit/{runit-2.1.2-r5.ebuild => runit-2.1.2-r6.ebuild}    | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/sys-process/runit/runit-2.1.2-r5.ebuild b/sys-process/runit/runit-2.1.2-r6.ebuild
similarity index 94%
rename from sys-process/runit/runit-2.1.2-r5.ebuild
rename to sys-process/runit/runit-2.1.2-r6.ebuild
index 7d747bcca298..018348aa5796 100644
--- a/sys-process/runit/runit-2.1.2-r5.ebuild
+++ b/sys-process/runit/runit-2.1.2-r6.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/admin/${P}/src
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~s390 sparc x86"
-IUSE="static"
+IUSE="split-usr static"
 
 RDEPEND="sys-apps/openrc"
 
@@ -50,11 +50,14 @@ src_configure() {
 }
 
 src_install() {
-	into /
 	dobin $(<../package/commands)
 	dodir /sbin
-	mv "${ED}"/bin/{runit-init,runit,utmpset} "${ED}"/sbin/ || die "dosbin"
-	dosym ../etc/runit/2 /sbin/runsvdir-start
+	mv "${ED}"/usr/bin/{runit-init,runit,utmpset} "${ED}"/sbin/ || die "dosbin"
+	if use split-usr ; then
+		dosym ../etc/runit/2 /sbin/runsvdir-start
+	else
+		dosym ../../etc/runit/2 /sbin/runsvdir-start
+	fi
 
 	DOCS=( ../package/{CHANGES,README,THANKS,TODO} )
 	HTML_DOCS=( ../doc/*.html )


             reply	other threads:[~2024-10-07 15:33 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-07 15:33 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-26 16:15 [gentoo-commits] repo/gentoo:master commit in: sys-process/runit/ Arthur Zamarin
2025-09-23 17:46 Arthur Zamarin
2025-09-23 15:30 Sam James
2025-09-22 16:12 Arthur Zamarin
2025-09-22 16:12 Arthur Zamarin
2025-06-08  5:12 Sam James
2025-05-11  0:35 Sam James
2025-02-23  3:09 Sam James
2025-02-23  3:09 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2025-01-25 15:48 Sam James
2024-12-11  2:48 Sam James
2024-12-09  5:40 Sam James
2024-11-26  5:57 Eli Schwartz
2024-09-05 14:42 Mike Gilbert
2024-09-05 14:42 Mike Gilbert
2024-08-23  7:33 Ulrich Müller
2024-08-23  7:28 Sam James
2024-08-23  7:28 Sam James
2024-08-22 14:35 Mike Gilbert
2024-08-22 14:06 Mike Gilbert
2024-07-21  0:31 Sam James
2024-06-21 18:58 Arthur Zamarin
2024-06-21 18:58 Arthur Zamarin
2024-06-21 18:58 Arthur Zamarin
2024-06-21 18:58 Arthur Zamarin
2024-06-21 18:27 Arthur Zamarin
2024-06-21 18:27 Arthur Zamarin
2024-06-21 18:27 Arthur Zamarin
2024-06-21 18:27 Arthur Zamarin
2024-06-16  6:07 Robin H. Johnson
2024-01-12 16:41 Ionen Wolkens
2024-01-12 16:31 William Hubbs
2022-08-01  2:33 Sam James
2022-02-13 21:08 Conrad Kostecki
2021-05-14  9:35 Agostino Sarubbo
2021-05-13 21:17 Sam James
2021-05-13 21:17 Sam James
2021-05-13 21:16 Sam James
2021-05-13 21:15 Sam James
2021-05-13 21:15 Sam James
2021-05-13 21:15 Sam James
2018-05-20  0:20 William Hubbs
2018-05-20  0:18 William Hubbs
2016-11-15  3:47 Mike Frysinger
2016-11-14 14:50 Mike Frysinger
2016-11-11 18:52 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1728315062.cb893880b4741d78a58b005a005985bbf7dc0dd8.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox