DisplayManagerRework: how to handle upgrades?
alekcejk at googlemail.com
alekcejk at googlemail.com
Sat Aug 11 18:54:08 UTC 2012
Rex Dieter wrote:
> OK, so we have
> https://fedoraproject.org/wiki/Features/DisplayManagerRework#How_To_Test
>
> that tells one how to enable the display manager of your choice, via
> systemctl enable --force xyzdm.service
>
> But, how to handle upgrades? (or is this case already handled somehow?)
>
> Off the top of my head, perhaps create some sort of scriptlet (probably to
> live in initscripts, since that's what owned prefdm) to parse
> /etc/sysconfig/desktop to make some educated guess about which dm service to
> enable.
>
> thoughts?
>
> -- rex
>
This is marked as DONE:
8. (Optionally) Patch systemd to parse /etc/sysconfig/desktop at upgrade time
and generate a symlink from it that is stored in
/etc/systemd/system/display-manager.service
and ensures that the original display manager choice is kept.
I have DISPLAYMANAGER="KDE" in /etc/sysconfig/desktop
but symlink was not generated after Rawhide update.
--
Alexey Kurov <nucleo at fedoraproject.org>
More information about the devel
mailing list