Hi Aurélien, Aurélien COUDERC <[email protected]> (2016-11-10): > Committed, thanks. > > @all, in postinst I see that update-grub is called with > update-grub || true > to ensure package installation succeeds even if it returns an error. > > Shouldn't we do the same with update-initramfs -u ? > Currently it's called as is so if returns non-zero it'll break package > install like #843727 due to set -e.
I don't think that's reasonable. Debian Policy mandates proper error reporting, so as to stop the installation/update process if errors are encountered, see Debian Policy 6.1: https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html KiBi.
signature.asc
Description: Digital signature

