Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768729 - gui-libs/display-manager-init improvements
Summary: gui-libs/display-manager-init improvements
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-04 23:11 UTC by William Hubbs
Modified: 2022-07-02 20:39 UTC (History)
4 users (show)

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


Attachments
display-manager-init.patch (display-manager-init.patch,7.00 KB, patch)
2021-02-04 23:12 UTC, William Hubbs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Hubbs gentoo-dev 2021-02-04 23:11:38 UTC
Hi,

this patch reworks display-manager-init to take advantage of OpenRC
internal features.

Specifically, you should be using the default start() and stop()
functions of OpenRC.

This simplifies your code a bit because it can now levarage the
command/command_background/start_stop_daemon_args variables.

Also, the startDM script that goes in /usr/bin now just calls rc-service
to start/stop the display manager.
Comment 1 William Hubbs gentoo-dev 2021-02-04 23:12:17 UTC
Created attachment 685812 [details, diff]
display-manager-init.patch

Here is the patch.

Thanks,

William
Comment 2 Piotr Karbowski archtester Gentoo Infrastructure gentoo-dev Security 2022-07-02 20:39:14 UTC
I will be looking into adding some of those.