On Fri, 2010-04-02 at 09:13 +0800, Steven Shiau wrote:
Package: linux-base
Version: 2.6.33-1~experimental.2
Severity: important
Tags: sid
*** Please type your report below this line ***
When creating a Debian live system with live-helper, there is no file
/etc/fstab for such a live system. However, the "$fstab->close();" in
"/var/lib/dpkg/info/linux-base.postinst" will just exit in this case.
Please fix it. Thanks.
Thanks for pointing out this bug. The fundamental issue is that we
shouldn't be attempting to do any conversion during a fresh installation
(whether that is done through debootstrap, debian-installer or
live-helper).
Because linux-base is a new package, we cannot simply check that this is
a fresh installation of linux-base. Instead, I've added a check that
(1) /etc/fstab exists and (2) one or more linux-image packages are
already installed. I believe this will do the right thing.
Ben.