Skip to content
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

Closed

Conversation

lanodan
Copy link
Contributor

@lanodan lanodan commented Apr 21, 2019

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

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Apr 21, 2019
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>
@lanodan lanodan force-pushed the contrib/lanodan/sys-apps_openrc_init branch from a70e045 to 9e83de5 Compare April 21, 2019 06:38
@lanodan lanodan changed the title sys-apps/openrc: Add USE=init to replace sysvinit sys-apps/openrc: Add USE=init to replace sysvinit [please reassign] Apr 21, 2019
@gentoo-bot gentoo-bot changed the title sys-apps/openrc: Add USE=init to replace sysvinit [please reassign] sys-apps/openrc: Add USE=init to replace sysvinit Apr 21, 2019
@gentoo-bot
Copy link

Copyright policy change

Please 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 assignment

Submitter: @lanodan
Areas affected: ebuilds
Packages affected: sys-apps/openrc

sys-apps/openrc: @gentoo/openrc

Linked bugs

Bugs linked: 599468


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. and removed assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Apr 21, 2019
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-04-21 06:55 UTC
Newest commit scanned: 9e83de5
Status: ✅ good

No issues found

@lanodan
Copy link
Contributor Author

lanodan commented May 4, 2019

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() {

Copy link
Contributor

@jkroonza jkroonza left a 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.

@a17r
Copy link
Member

a17r commented Jul 15, 2020

Indeed that was added in commit 0fe0ae9.

Please note that the maintainer does not look at GitHub for contributions.

@a17r a17r closed this Jul 15, 2020
@lanodan lanodan deleted the contrib/lanodan/sys-apps_openrc_init branch February 7, 2021 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
5 participants