Plymouth BGRT theme does not work due to missing files in initramfs

Bug #1862485 reported by Shinjo Park
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)
In Progress
High
Unassigned

Bug Description

The package 'plymouth-theme-spinner' provides a BGRT theme, which shows the UEFI vendor logo in the Plymouth boot splash. Because the theme file /usr/share/plymouth/themes/bgrt/bgrt.plymouth contains "ImageDir=/usr/share/plymouth/themes/spinner", it expects the animation image files from the same path. However, the initramfs hook for Plymouth at /usr/share/initramfs-tools/hooks/plymouth is not aware of this, and does not copy the said directory to the initramfs. As a result, it will fall back to the text based Plymouth theme.

Current workaround is modifying the /usr/share/initramfs-tools/hooks/plymouth so the images from the spinner theme is included:
$ diff -urN plymouth.orig plymouth.new
--- plymouth.orig 2020-02-09 00:41:21.122823787 +0100
+++ plymouth.new 2020-02-09 00:41:12.510535377 +0100
@@ -54,7 +54,7 @@
 fi

 # copy base themes content
-currthemes="${THEME_NAME} ${TEXTTHEME_NAME}"
+currthemes="${THEME_NAME} ${TEXTTHEME_NAME} spinner"
 for currtheme in $currthemes
 do
        case "${currtheme}" in

System information:
$ lsb_release -rd
Description: Ubuntu 19.10
Release: 19.10
$ apt-cache policy plymouth
plymouth:
  설치: 0.9.4git20190712-0ubuntu4.1
  후보: 0.9.4git20190712-0ubuntu4.1
  버전 테이블:
 *** 0.9.4git20190712-0ubuntu4.1 500
        500 http://de.archive.ubuntu.com/ubuntu eoan-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.9.4git20190712-0ubuntu4 500
        500 http://de.archive.ubuntu.com/ubuntu eoan/main amd64 Packages
$ apt-cache policy plymouth-theme-spinner
plymouth-theme-spinner:
  설치: 0.9.4git20190712-0ubuntu4.1
  후보: 0.9.4git20190712-0ubuntu4.1
  버전 테이블:
 *** 0.9.4git20190712-0ubuntu4.1 500
        500 http://de.archive.ubuntu.com/ubuntu eoan-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     0.9.4git20190712-0ubuntu4 500
        500 http://de.archive.ubuntu.com/ubuntu eoan/universe amd64 Packages

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in plymouth (Ubuntu):
status: New → Confirmed
Changed in plymouth (Ubuntu):
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Cruz Fernandez (cruz-fernandez) wrote :

I didn't need to patch the file /usr/share/initramfs-tools/hooks/plymouth adding "spinner" there. I've noted though that adding more themes I see the related file `/usr/share/plymouth/themes/spinner/spinner.plymouth` on the script

    sudo update-alternatives --config default.plymouth

Revision history for this message
Cruz Fernandez (cruz-fernandez) wrote :

On latest 0.9.4git20200323-0ubuntu6 is not being reproduced this problem.

Revision history for this message
Cruz Fernandez (cruz-fernandez) wrote :

Also, I think this bug is not duplicate of #1864586

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.