[Bug 1866372] Re: Plymouth causes update-initramfs to fail
satmandu
1866372 at bugs.launchpad.net
Fri Mar 6 17:55:06 UTC 2020
*** This bug is a duplicate of bug 1866377 ***
https://bugs.launchpad.net/bugs/1866377
Nice.
Patch for the lazy:
diff -Npaur a/usr/share/initramfs-tools/hooks/plymouth b/usr/share/initramfs-tools/hooks/plymouth
--- a/usr/share/initramfs-tools/hooks/plymouth 2020-03-06 12:45:51.563041573 -0500
+++ b/usr/share/initramfs-tools/hooks/plymouth 2020-03-06 12:50:15.335756844 -0500
@@ -119,6 +119,7 @@ case "${THEME_NAME}" in
;;
*)
+ mkdir -p "${DESTDIR}/usr/share/plymouth/themes/spinner"
cp /usr/share/plymouth/ubuntu-logo.png "${DESTDIR}/usr/share/plymouth"
cp /usr/share/plymouth/ubuntu-logo.png "${DESTDIR}/usr/share/plymouth/themes/spinner/watermark.png"
** Patch added: "1866372.patch"
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1866372/+attachment/5334371/+files/1866372.patch
--
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/1866372
Title:
Plymouth causes update-initramfs to fail
Status in plymouth package in Ubuntu:
Confirmed
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1866372/+subscriptions
More information about the foundations-bugs
mailing list