[Bug 1592405] Re: plymouth hook in initramfs needs font but doesn't Depend on it

Steve Langasek steve.langasek at canonical.com
Mon Apr 2 03:36:11 UTC 2018


On Mon, Apr 02, 2018 at 01:47:17AM -0000, Dimitri John Ledkov wrote:
> Which is correct! We still do need a serif font....

We do?

$ grep -ri serif plymouth-0.9.3/
plymouth-0.9.3/debian/changelog:  * Make the Ubuntu font the default sans-serif & mono fonts. LP: #1592405
plymouth-0.9.3/debian/changelog:  * In the ubuntu-logo theme fallback to sans-serif font, if Ubuntu font
plymouth-0.9.3/debian/local/plymouth.hook:		cp -a /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf "${DESTDIR}/usr/share/fonts/truetype/dejavu"
plymouth-0.9.3/debian/local/plymouth.hook:		# Make Ubuntu the default sans-serif, and mono fonts
plymouth-0.9.3/debian/patches/ubuntu-logo.patch:+ubuntufont = "Ubuntu, sans-serif 11";
plymouth-0.9.3/themes/ubuntu-logo/ubuntu-logo.script:ubuntufont = "Ubuntu, sans-serif 11";
$

> and a fallback font for languages not covered by the ubuntu font.

The plymouth initramfs hook has no l10n support.

> Are you implying DejaVu font is not shipped by default on Lubuntu at
all?

Probably.  Even if it was, it would still be a bug for the plymouth hook to
require it without a dependency.

-- 
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/1592405

Title:
  plymouth hook in initramfs needs font but doesn't Depend on it

Status in plymouth package in Ubuntu:
  Triaged
Status in plymouth source package in Bionic:
  Triaged

Bug description:
  Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
  update-initramfs: Generating /boot/initrd.img-3.2.0-1412-omap4
  cp: cannot stat '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf': No such file or directory
  E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
  update-initramfs: failed for /boot/initrd.img-3.2.0-1412-omap4 with 1.
  dpkg: error processing package initramfs-tools (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   initramfs-tools

  
  cmiller at xiongmao:~$ dpkg -S /usr/share/initramfs-tools/hooks/plymouth
  plymouth: /usr/share/initramfs-tools/hooks/plymouth
  cmiller at xiongmao:~$ dpkg -l plymouth |cat
  ii  plymouth       0.9.2-3ubuntu13.1 armhf        boot animation, logger and I/O multiplexer

  
  If THEME_NAME "ubuntu-logo" is something other than the four, then
  if /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf does not exist, then
  copy /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf somewhere.

  That file doesn't exist because it's not demanded by plymouth package.

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



More information about the foundations-bugs mailing list