Commits

Moises Henriquez committed e32ff23

Fix bootsplash not showing up even when disabling was not selected

Comments (0)

Files changed (1)

vinstall/backend/bootloader.py

                 current_os.kernel = '/boot/vmlinuz'
                 current_os.label = 'Vector'
                 current_os.type = 'linux'
-                if os.path.exists('/boot/initrd'):
-                    current_os.initrd = '/boot/initrd'
-                    current_os_tui.initrd = '/boot/initrd'
+                if os.path.exists('/boot/initrd.gz') and \
+                   bootsplash_disabled is False:
+                    current_os.initrd = '/boot/initrd.gz'
+                    current_os_tui.initrd = '/boot/initrd.gz'
                 current_os.root = myroot
                 current_os_tui.label = 'Vector-TUI'
                 current_os_tui.kernel = '/boot/vmlinuz'