Re: DisplayManagerRework: how to handle upgrades?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rex Dieter wrote:

> 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.
> 
> nucleo mentioned to me on irc the case also of the simple case of a
> machine
> with no DM.  If the expactation that
> yum install gdm
> (or any DM, with no DM currently enabled) should 'just work', then perhaps
> also consider doing something like this in gdm's %post scriptlet:
> systemctl is-enabled display-manager.service || \
>   systemctl enable gdm.service

ok, ignore this, looks like presets are the way to go here.

-- rex


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux