[displaymanager] Treat openSUSE sysconfig like anything else
This commit is contained in:
parent
d592a5bb94
commit
b00335f5b3
@ -850,6 +850,13 @@ class DMsysconfig(DisplayManager):
|
|||||||
def greeter_setup(self):
|
def greeter_setup(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# For openSUSE-derivatives, there is only sysconfig to configure,
|
||||||
|
# and no special DM configuration for it. Instead, check that
|
||||||
|
# sysconfig is available in the target.
|
||||||
|
def have_dm(self):
|
||||||
|
config = "{!s}/etc/sysconfig/displaymanager".format(self.root_mount_point)
|
||||||
|
return os.path.exists(config)
|
||||||
|
|
||||||
|
|
||||||
# Collect all the subclasses of DisplayManager defined above,
|
# Collect all the subclasses of DisplayManager defined above,
|
||||||
# and index them based on the name property of each class.
|
# and index them based on the name property of each class.
|
||||||
|
Loading…
Reference in New Issue
Block a user