[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#843727: fix inside



Hi Aurélien,

Aurélien COUDERC <zecoucou@free.fr> (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.

Attachment: signature.asc
Description: Digital signature


Reply to: