diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-26 22:58:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-26 22:58:47 +0000 |
commit | d6b4ec09e37c42b7f8ec5ab00548cfa4ae85ed98 (patch) | |
tree | c20ed9fcc9416a785081bb70d7b8f736737ebbf6 /app-admin/calamares/files/calamares-dont-rely-on-plymouthcfg.patch | |
parent | c2e3d4969635dc07a91f0f0bd71d661f20ea6b6a (diff) |
app-admin/calamares : revision bump, we don't rely on plymouthcfg for splash
Diffstat (limited to 'app-admin/calamares/files/calamares-dont-rely-on-plymouthcfg.patch')
-rw-r--r-- | app-admin/calamares/files/calamares-dont-rely-on-plymouthcfg.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-admin/calamares/files/calamares-dont-rely-on-plymouthcfg.patch b/app-admin/calamares/files/calamares-dont-rely-on-plymouthcfg.patch new file mode 100644 index 00000000..04f41a30 --- /dev/null +++ b/app-admin/calamares/files/calamares-dont-rely-on-plymouthcfg.patch @@ -0,0 +1,28 @@ +diff -Nur a/src/modules/grubcfg/main.py b/src/modules/grubcfg/main.py +--- a/src/modules/grubcfg/main.py 2018-01-02 14:37:36.000000000 +0000 ++++ b/src/modules/grubcfg/main.py 2019-01-26 22:47:25.005850844 +0000 +@@ -44,16 +44,20 @@ + dracut_bin = libcalamares.utils.target_env_call( + ["sh", "-c", "which dracut"] + ) +- have_dracut = dracut_bin == 0 # Shell exit value 0 means success ++ plymouth_bin = libcalamares.utils.target_env_call( ++ ["sh", "-c", "which plymouth"] ++ ) ++ # Shell exit value 0 means success ++ have_dracut = dracut_bin == 0 ++ have_plymouth = plymouth_bin == 0 + + use_splash = "" + swap_uuid = "" + swap_outer_uuid = "" + swap_outer_mappername = None + +- if libcalamares.globalstorage.contains("hasPlymouth"): +- if libcalamares.globalstorage.value("hasPlymouth"): +- use_splash = "splash" ++ if have_plymouth: ++ use_splash = "splash" + + cryptdevice_params = [] + |