Bug#850601: desktop-base does not install on live images
Package: desktop-base
Version: 9.0.0
Severity: important
Tags: patch
Hi,
desktop-base don't install on live images, reason is that grub don't find a canonical path.
I would call it a regression as desktop-base 8.0.2 works without problems.
The attached patch probably isn't a solution, more of a workaround.
Cheers Alf
-- System Information:
Debian Release: stretch/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.1-towo.1-siduction-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff --git a/debian/postinst b/debian/postinst
index 6112a3a..9696b6f 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -201,11 +201,11 @@ EOF
# Ensure the background image file has actually been written to disc
# before updating.
sync
- update-grub
+ update-grub || echo "Updating grub fails - report success anyways!"
fi
if which update-initramfs > /dev/null; then
- update-initramfs -u
+ update-initramfs -u || echo "Updating intramfs fails - report success anyways!"
fi
fi
Reply to: