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

Bug#600100: zipl's postinst hook fails upon initial kernel installation by d-i

On Wed, Oct 13, 2010 at 07:31:26PM +0200, Philipp Kern wrote:
> Oct 13 19:24:13 in-target: run-parts: executing /etc/kernel/postinst.d/zz-zipl 2.6.32-5-s390x /boot/vmlinuz-2.6.32-5-s390x
> Oct 13 19:24:13 in-target: Error: Config file '/etc/zipl.conf': No such file or directory
> Oct 13 19:24:13 in-target: Using config file '/etc/zipl.conf'

This would also fail when you try to install a kernel into a chroot and
s390-tools happens to be installed (which might be unusual, though).
Maybe, as this error comes from zipl, it would make sense to guard the
zipl invocation by checking for the config file presence first?

if [ -f /etc/zipl.conf ]
  exec zipl </dev/null >&2

Kind regards,
Philipp Kern

Attachment: signature.asc
Description: Digital signature

Reply to: