postinst: Report success even when update-grub fails, this is needed for installation to work inside live systems. (Closes: #850601).
This commit is contained in:
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -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.
|
||||
|
||||
6
debian/postinst
vendored
6
debian/postinst
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user