Re: Debian Suspend2 patch, mkinitrd / mkinitramfs ?
Le vendredi 10 juin 2005 à 21:37 -0700, Karl Hegbloom a écrit :
Q: Is there a revision control repository of the initrd-tools that I
can use to keep track of it's development, especially if a transition
to initramfs is planned?
I tried to change the mkinitrd command to a shell script that created
a compressed CPIO archive, but it did not work right. The
855resolution hack did not seem to "take", but worse, the 'mtrr' hack
did not work... I think it's becuase the kernel does it's thing after
the initramfs is finished.
The initrd stuff is tracked at http://svn.debian.org/wsvn/kernel/trunk/utils/initrd-tools/?rev=0&sc=0
The initramfs work is at http://people.ubuntu.com/~jbailey/bzrtree/initramfs-tools/ using 'bzr'
The initramfs stuff is not an evolution of the initrd stuff. That's too ugly to contemplate. =) maks has ITPd the initramfs stuff that I'm working on so that I have a purely Debian co-maintainer. (Avoid conflict of interest charges, etc) It should hopefully go in to Debian very soon. The kernel-package changes to make it easy to use initramfs have been contributed to Debian, but that was after Manoj's most recent upload, but that'll probably hit soon.
On the initramfs, I have quite a few more places where scripts can hook into and get run, as well as a dependency system to ensure ordering. The idea is that none of this should be coded directly into mkinitramfs, but instead should be provided externally. I'd appreciate any feedback. I don't think I've committed this work yet, since I finised it yesterday and then went out drinking. =) Look for it in the next 24 hours, though.