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

Dimitri John Ledkov launchpad at surgut.co.uk
Mon Apr 2 01:47:17 UTC 2018


On 2 April 2018 at 02:27, Steve Langasek <steve.langasek at canonical.com> wrote:
> $ dpkg -S /usr/share/initramfs-tools/hooks/plymouth
> plymouth: /usr/share/initramfs-tools/hooks/plymouth
> $ apt policy plymouth | grep Installed
>   Installed: 0.9.3-1ubuntu4
> $ grep -i dejavu /usr/share/initramfs-tools/hooks/plymouth
>                 mkdir -p "${DESTDIR}/usr/share/fonts/truetype/dejavu"
>                 cp -a /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf "${DESTDIR}/usr/share/fonts/truetype/dejavu"
>                     sed 's|\(<family>DejaVu Sans</family>\)|<family>Ubuntu</family>\1|;s|\(<family>DejaVu Sans Mono</family>\)|<family>Ubuntu Mono</family>\1|;' \
>                     cp -a /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf  "${DESTDIR}/usr/share/fonts/truetype/dejavu"
> $
>
> The hook is still trying to copy dejavu fonts into the initramfs.
>

Which is correct! We still do need a serif font.... and a fallback
font for languages not covered by the ubuntu font. Are you implying
DejaVu font is not shipped by default on Lubuntu at all?

-- 
Regards,

Dimitri.

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