Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 394170 Details for
Bug 536822
eselect-1.4.3: "eselect rc show boot" shows no output (with sys-apps/openrc-0.13.7)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for eselect-1.4.3
0001-Be-compatible-with-new-OpenRC-in-rc-module.patch (text/plain), 1.61 KB, created by
Ulrich Müller
on 2015-01-17 16:53:15 UTC
(
hide
)
Description:
Patch for eselect-1.4.3
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2015-01-17 16:53:15 UTC
Size:
1.61 KB
patch
obsolete
>From 783374a7d24e310fcf0a49e16c10687bd515d66a Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org> >Date: Sat, 17 Jan 2015 17:55:46 +0100 >Subject: [PATCH] Be compatible with new OpenRC in rc module. > >* modules/rc.eselect: Be compatible with new OpenRC, bug 536822. >(is_script): Test for "openrc-run" or "runscript" in shebang line. >(run_runscript): Omit the interpreter when executing the script. >--- > ChangeLog | 6 ++++++ > modules/rc.eselect | 4 ++-- > 2 files changed, 8 insertions(+), 2 deletions(-) > >diff --git a/ChangeLog b/ChangeLog >index b27214b..01b8d14 100644 >--- a/ChangeLog >+++ b/ChangeLog >@@ -1,3 +1,9 @@ >+2015-01-17 Ulrich Müller <ulm@gentoo.org> >+ >+ * modules/rc.eselect: Be compatible with new OpenRC, bug 536822. >+ (is_script): Test for "openrc-run" or "runscript" in shebang line. >+ (run_runscript): Omit the interpreter when executing the script. >+ > 2014-09-01 Ulrich Müller <ulm@gentoo.org> > > * configure.ac: Update version to 1.4.3. >diff --git a/modules/rc.eselect b/modules/rc.eselect >index 82eb6ef..2a9bf5b 100644 >--- a/modules/rc.eselect >+++ b/modules/rc.eselect >@@ -37,7 +37,7 @@ is_script() { > && ${file%%.sh} = ${file} \ > && ${file%%\~} = ${file} \ > && -e ${file} ]] \ >- && grep "^#\!/sbin/runscript" "${file}" &>/dev/null >+ && grep '^#!.*/\(runscript\|openrc-run\)' "${file}" &>/dev/null > } > > # find_scripts PRIVATE >@@ -92,7 +92,7 @@ run_runscript() { > shift > for script; do > is_script "${EROOT}/etc/init.d/${script}" \ >- && /sbin/runscript "${EROOT}/etc/init.d/${script}" "${command}" >+ && "${EROOT}/etc/init.d/${script}" "${command}" > done > } > >-- >2.2.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 536822
:
394146
| 394170