New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys-apps/openrc: Add USE=init to replace sysvinit #11758
sys-apps/openrc: Add USE=init to replace sysvinit #11758
Conversation
I didn’t change the other versions but MKSYSVINIT option has been there for quite a while (I have it on my systems with the current amd64) Closes: https://bugs.gentoo.org/show_bug.cgi?id=599468 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
a70e045
to
9e83de5
Compare
Copyright policy changePlease note that on 2018-09-15 Trustees have approved new Gentoo copyright policy. All contributions made to Gentoo need to follow this policy. If you include the Signed-off-by line in your commit message, you indicate that you have read the policy and agree to its terms. For more detailed explanation, please see the new Gentoo copyright policy explained article. Pull Request assignmentSubmitter: @lanodan sys-apps/openrc: @gentoo/openrc Linked bugsBugs linked: 599468 In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Pull request CI reportReport generated at: 2019-04-21 06:55 UTC No issues found |
Note: this lacks adding agetty[1-6] to the default runlevel. I did it like that in my overlay. @@ -154,6 +154,17 @@ src_install() {
if use newnet; then
dodoc README.newnet
fi
+
+ # start all the tty at boot except tty1 to not conflict with OpenRC output
+ if use init; then
+ for n in 2 3 4 5 6; do
+ dosym "/etc/init.d/agetty" "${ED}/etc/init.d/agetty.${n}"
+ dosym "/etc/init.d/agetty.${n}" "/etc/runlevel/boot/agetty.${n}"
+ done
+ # I like to keep a tty for OpenRC
+ #dosym "/etc/init.d/agetty" "${ED}/etc/init.d/agetty.1"
+ #dosym "/etc/init.d/agetty.1" "/etc/runlevel/default/agetty.1"
+ fi
}
pkg_preinst() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternative USE=sysv-utils has already been merged. Suggesting closing.
Indeed that was added in commit 0fe0ae9. Please note that the maintainer does not look at GitHub for contributions. |
I didn’t change the other versions but
MKSYSVINIT
option has been there for quite a while (I have it on my systems with the currentamd64
)Closes: https://bugs.gentoo.org/show_bug.cgi?id=599468
Signed-off-by: Haelwenn (lanodan) Monnier contact@hacktivis.me