diff --git a/debian/changelog b/debian/changelog index 74f1e9d..8e25abf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ desktop-base (9.0.1) UNRELEASED; urgency=medium [ Aurélien COUDERC ] + * postinst: Report success even when update-grub fails, this is needed + for installation to work inside live systems. (Closes: #850601). * Plymouth/{softWaves,Lines,Joy}: provide fsckd progress support. (Closes: #850181) * Plymouth/softWaves: raise messages and password field a little. diff --git a/debian/postinst b/debian/postinst index 6112a3a..31c44e0 100644 --- a/debian/postinst +++ b/debian/postinst @@ -201,7 +201,11 @@ EOF # Ensure the background image file has actually been written to disc # before updating. sync - update-grub + # Report success whatever grub return status. This is needed at least + # in live systems fon installation to succeed (see #850601). + # Until we find a better solution like detecting we’re in a live image + # and not calling update-grub at all. + update-grub || echo "Updating grub failed, report success anyway!" fi if which update-initramfs > /dev/null; then