RE: [PATCH] have lb_chroot_hacks to build initrd only from chroot
I'm experiencing exactly the same issue. Could you please have a look at this patch? It's really needed when building on Ubuntu.
From: intrigeri [mailto:email@example.com]
Sent: Wednesday, November 30, 2011 11:48 AM
To: Luigi Capriotti
Subject: Re: [PATCH] have lb_chroot_hacks to build initrd only from chroot
Luigi Capriotti wrote (30 Nov 2011 10:35:09 GMT) :
> The rationale is that "update_initramfs -k all" builds an initrd with
> the kernel version of the build host, which may be different from the
> kernel versions in the chroot.
I was under the impression that "-k all" meant "all *installed* kernel versions". update-initramfs(8) speaks of "all kernel versions, that are already known to update-initramfs". May you have run into a bug in update-initramfs?
Besides, I can not reproduce the issue you're experiencing; I'm building a Squeeze system using live-build 2.x and initramfs-tools from sid (0.99).
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
| Did you exchange a walk on part in the war
| for a lead role in the cage?
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com