[Bug 1862485] [NEW] Plymouth BGRT theme does not work due to missing files in initramfs

Shinjo Park 1862485 at bugs.launchpad.net
Sat Feb 8 23:43:15 UTC 2020


Public bug reported:

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

** Affects: plymouth (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/1862485

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

Status in plymouth package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1862485/+subscriptions



More information about the foundations-bugs mailing list