Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742698 - gui-libs/greetd: missing .init file for openrc
Summary: gui-libs/greetd: missing .init file for openrc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aisha Tammy
URL:
Whiteboard:
Keywords: EBUILD, PullRequest
Depends on:
Blocks:
 
Reported: 2020-09-15 18:17 UTC by Jonas Toth
Modified: 2020-09-26 13:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New .init-file for greetd (greetd.init,275 bytes, text/plain)
2020-09-15 18:17 UTC, Jonas Toth
Details
Updated ebuild (greetd-0.6.1.ebuild,2.17 KB, text/plain)
2020-09-15 18:18 UTC, Jonas Toth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Toth 2020-09-15 18:17:38 UTC
Created attachment 660429 [details]
New .init-file for greetd

Hi,

gui-libs/greetd right now only install a systemd unit-file, but not an openrc one.

I wrote a simple file and patched the ebuild in my local overlay, and that works quiet well.
Comment 1 Jonas Toth 2020-09-15 18:18:26 UTC
Created attachment 660432 [details]
Updated ebuild

I use this ebuild for greetd with openrc support
Comment 2 Brian Evans (RETIRED) gentoo-dev 2020-09-15 18:36:38 UTC
(In reply to Jonas Toth from comment #0)
> Created attachment 660429 [details]
> New .init-file for greetd
> 
> Hi,
> 
> gui-libs/greetd right now only install a systemd unit-file, but not an
> openrc one.
> 
> I wrote a simple file and patched the ebuild in my local overlay, and that
> works quiet well.

You can drop the start() function entirely if command_background="yes" was added.
Comment 3 Jonas Toth 2020-09-15 18:40:21 UTC
I updated the PR accordingly. Thanks for the tip.
Comment 4 Aisha Tammy 2020-09-15 20:31:18 UTC
As mentioned in the PR, this is not the way to handle a new display manager.

Work is currently being done in [1] to make greetd a display manager working at openrc level to make sure that it will not conflict with holding up a tty

[1] https://github.com/gentoo/gentoo/pull/16554