Public bug reported:
I'm running Ubuntu 20.04 and plymouth 0.9.4git20200109-0ubuntu6.
Whenever I run "update-initramfs -uk all", it fails and produces this
output:
update-initramfs: Generating /boot/initrd.img-5.4.0-14-generic
cp: cannot create regular file
'/var/tmp/mkinitramfs_0bZgET/usr/share/plymouth/themes/spinner/watermark.png':
No such file or directory
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-14-generic with 1.
I found a workaround: if I edit /usr/share/initramfs-
tools/hooks/plymouth and find this line:
cp /usr/share/plymouth/ubuntu-logo.png
"${DESTDIR}/usr/share/plymouth/themes/spinner/watermark.png"
And add this line right before it:
mkdir -p "${DESTDIR}/usr/share/plymouth/themes/spinner"
Then it runs successfully.
** Affects: plymouth (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866372
Title:
Plymouth causes update-initramfs to fail
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1866372/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs