Comment 2 for bug 64887

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 64887] /boot/initrd.img*should be removed from filesystem.squashfs

On Tue, Oct 10, 2006 at 02:02:06AM -0000, Matt Zimmerman wrote:
> On Mon, Oct 09, 2006 at 05:46:53PM -0000, Mantas Kriaučiūnas wrote:
> > /boot/initrd.img*should be removed from filesystem.squashfs - now it
> > takes about 7 MB space in CD, because it can't be compressed.
> >
> > from #ubuntu-devel irc log:
> > Oct 09 15:02:10 Kamion tfheen: ubiquity does call update-initramfs, so removing /boot/initrd* is probably ok
>
> I thought we were already doing this; are we only removing the kernel itself
> and not the initramfs?

I hope we're not removing the kernel! Ubiquity needs to copy it or the
resulting system won't boot.

> Colin, does ubiquity call update-initramfs unconditionally? i.e., is
> that code already being thoroughly tested?

Yes, it's called unconditionally. The most recent iteration of that code
landed on 16th September, so has been thoroughly tested in the beta.

> Are we sure it does the right thing if no initramfs already exists?

Yes; I just tested with a version of ubiquity modified to remove the
copied initramfs just before calling 'update-initramfs -u', and it
worked fine.