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

Bug#586554: update-initramfs fails to generate initrd.img-2.6.32-5-686 in Debian testing when upgrading from 0.96 to 0.97



On 06/30/2010 07:25 PM, Michael Prokop wrote:
We are working on new initramfs-tools version which should display
the source of the problem then, I'll be investigating on the iscan
issue in more detail as well and report back.

Thanks to all for your help tracking this down. I've found the problem.
It was indeed related to the fact that the new version of initramfs-tools runs the hook scripts under errexit.

If the very last file that iscan's hook script checks for in DESTDIR doesn't exist, the `test -e` call fails and the script ends with a failed status even though nothing really went wrong. A simple `exit 0` on the last line fixes this.

I'll try to get a fixed version of iscan-data out as soon as I can.

Thanks again.

Happy scanning,
--
Alesh Slovak                    Linux Team -- AVASYS Corporation
alesh.slovak@avasys.jp          http://avasys.jp



Reply to: