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

Bug#582776: initramfs-tools: pointless generation of an initrd for initrd-free custom kernels



* maximilian attems <max@stro.at> [Mit Jun 09, 2010 at 04:24:42 +0200]:
> On Tue, Jun 08, 2010 at 03:35:36PM +0200, Michael Prokop wrote:
> > * Darren Salt <ds@youmustbejoking.demon.co.uk> [Son Mai 23, 2010 at 03:26:28 +0100]:

> > > While installing a locally-built kernel (which doesn't require an initrd), I
> > > found that /etc/kernel/postinst.d/initramfs-tools was nevertheless generating
> > > an initrd for that kernel.

> > > This causes breakage here. I'm using lilo and a slightly-modified
> > > version of the example symlink_hook script provided by kernel-package; if an
> > > initrd is present, the symlink name is different. (I'm using the symlinks so
> > > that I don't have to edit lilo.conf.)

[...]

> > Looks fine to me.

> > maks, any objections against adding this patch? I'd take care of it.

> yes wrong.

> don't assume to look on /boot/config-version for respective image.

Ok good point.

> didn't see better idea here so close.

How about giving people the chance to disable generation of initrds
through e.g. /etc/default/initramfs-tools?

regards,
-mika-

Attachment: signature.asc
Description: Digital signature


Reply to: