plymouthcfg: Use plymouth-set-default-theme instead of sed
Currently we are running into an issue, when setting the default theme via "sed", since the "[DAEMON]" entry in /etc/plymouth/plymouthd.conf is commented, which results into that the theme is not correctly applied. Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
parent
8440a6a5dd
commit
2fd98c913a
@ -24,6 +24,7 @@ This release contains contributions from (alphabetically by first name):
|
||||
- *displaymanager* module can configure an alternate SDDM configuration file.
|
||||
- *networkcfg* a bug affecting NetPlan + NetworkManager was fixed.
|
||||
- *initcpiocfg* Add microcode hook to initcpiocfg
|
||||
- *plymouthcfg* Use plymouth-set-default-theme to avoid issues with configuration
|
||||
|
||||
|
||||
# 3.3.4 (2024-02-27)
|
||||
|
@ -48,9 +48,7 @@ class PlymouthController:
|
||||
|
||||
def setTheme(self):
|
||||
plymouth_theme = libcalamares.job.configuration["plymouth_theme"]
|
||||
target_env_call(["sed", "-e", 's|^.*Theme=.*|Theme=' +
|
||||
plymouth_theme + '|', "-i",
|
||||
"/etc/plymouth/plymouthd.conf"])
|
||||
target_env_call(["plymouth-set-default-theme", plymouth_theme])
|
||||
|
||||
def run(self):
|
||||
if detect_plymouth():
|
||||
|
Loading…
Reference in New Issue
Block a user