On Tue, 2013-01-15 at 17:20 +1100, Trent W. Buck wrote:
> Package: linux-base
> Version: 3.5
> Severity: minor
> 
> I did the following:
> 
>   - basic squeeze install, choose no bootloader,
>   - manually do an extlinux install in /boot (extlinux package is NOT 
> installed)
>   - set link_in_boot=yes in kernel-img.conf
> 
> Those are about the only things I did.  Then I tried to upgrade from
> squeeze to wheezy and got
> 
>     Not a directory at /var/lib/dpkg/info/linux-base.postinst line 1177.
> 
> ...without further helpful output.  That line is part of a generic
> function, so I straced dpkg --configure -a and found
> 
>     4875  open("/boot/extlinux/options.cfg", O_RDONLY) = -1 ENOTDIR (Not a 
> directory)
> 
> I have not investigated further but I guess this is because linux-base
> is finding /boot/ldlinux.sys and assuming it was configured in the way
> update-extlinux does it.
[...]

It's looking for configuration files that might mention block device
names, in case they need to be updated.  Naturally this is based on the
Debian package layout.

I'll change it to treat ENOTDIR as non-fatal (same as ENOENT).

Ben.

-- 
Ben Hutchings
Quantity is no substitute for quality, but it's the only one we've got.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to