On Sat, 26 Jun 2010 15:50:27 -0400 (EDT), Ben Hutchings wrote: > On Wed, 2010-06-23 at 23:31 +0200, Jonas Smedegaard wrote: >> >> A great while back initramfs-tools and kernel packages broke the ABI >> coordinated across initramfs-tools, linux-2.6, yaird and kernel-package. >> >> Sure would be nice with a stable ABI again, and getting informed if it >> changes. > > That is a separate issue. What we need here is an interface for the > initramfs builder to update the boot loader if necessary. No such > interface exists yet, AFAIK. > > I suggest something like the following: > > 1. Boot loaders that maintain block lists install a script under > /etc/mkinitramfs/post-update.d which takes two arguments: the kernel ABI > version (uname -r) and the absolute path to an initramfs. > > 2. Initramfs builders call the scripts in this directory after creating, > updating or deleting an initramfs by running: > run-parts --verbose --exit-on-error --arg=$version --arg=$path > /etc/mkinitramfs/post-update.d > or similar. > > We could alternately use multiple directories or an argument to > distinguish creation, update and deletion. However, I suspect that > these scripts will need to invoke the same command in all cases.
Sounds reasonable to me. This is for Squeeze+1, right? -- .''`. Stephen Powell : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/910677554.313851.1277598904174.javamail.r...@md01.wow.synacor.com