[PATCH 94/94] sys-kernel/hurd: don't pass -a to openrc-init
Sam James <[email protected]>
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <87b7b51449e190d15a5bfc078d537f4b2cb2e75d.1774994383.git.sam@gentoo.org> |
openrc-init doesn't support it, unlike sysvinit, but it doesn't do anything useful for us anyway. Signed-off-by: Sam James <[email protected]> --- .../files/hurd-0.9_p20251029-openrc-init-no-a.patch | 10 ++++++++++ sys-kernel/hurd/hurd-0.9_p20251029.ebuild | 1 + sys-kernel/hurd/hurd-9999.ebuild | 1 + 3 files changed, 12 insertions(+) create mode 100644 sys-kernel/hurd/files/hurd-0.9_p20251029-openrc-init-no-a.patch diff --git a/sys-kernel/hurd/files/hurd-0.9_p20251029-openrc-init-no-a.patch b/sys-kernel/hurd/files/hurd-0.9_p20251029-openrc-init-no-a.patch new file mode 100644 index 0000000000000..77f75a1cbbba5 --- /dev/null +++ b/sys-kernel/hurd/files/hurd-0.9_p20251029-openrc-init-no-a.patch @@ -0,0 +1,10 @@ +Don't pass -a to init. openrc-init doesn't support it and even with sysvinit, +there's not much point. +--- a/daemons/runsystem.sh ++++ b/daemons/runsystem.sh +@@ -119,4 +119,4 @@ fsysopts / --update --readonly + + # Finally, start the actual SysV init. + echo Starting ${init} +-exec ${init} ${single} -a ++exec ${init} ${single} diff --git a/sys-kernel/hurd/hurd-0.9_p20251029.ebuild b/sys-kernel/hurd/hurd-0.9_p20251029.ebuild index ab454cfbf882c..cc8644bc50205 100644 --- a/sys-kernel/hurd/hurd-0.9_p20251029.ebuild +++ b/sys-kernel/hurd/hurd-0.9_p20251029.ebuild @@ -62,6 +62,7 @@ fi PATCHES=( "${FILESDIR}"/${PN}-0.9_p20251029-glibc-2.43.patch "${FILESDIR}"/${PN}-0.9_p20251029-rump-link.patch + "${FILESDIR}"/${PN}-0.9_p20251029-openrc-init-no-a.patch "${FILESDIR}"/${PN}-0.9_p20251029-libports-iterate-refcount.patch ) diff --git a/sys-kernel/hurd/hurd-9999.ebuild b/sys-kernel/hurd/hurd-9999.ebuild index ee03564265631..7ae3dbf8b102d 100644 --- a/sys-kernel/hurd/hurd-9999.ebuild +++ b/sys-kernel/hurd/hurd-9999.ebuild @@ -61,6 +61,7 @@ fi PATCHES=( "${FILESDIR}"/${PN}-0.9_p20251029-rump-link.patch + "${FILESDIR}"/${PN}-0.9_p20251029-openrc-init-no-a.patch "${FILESDIR}"/${PN}-0.9_p20251029-libports-iterate-refcount.patch ) -- 2.53.0