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

Bug#593276: initramfstools >=0.94 not compatible with lenny?



package: initramfs-tools
version: 0.97


Hi there,

last weekend I was testing something with fai, initramfs-tools and live-initramfs, because I had trouble with netbooting a via vb8001 mb with a second pcie e1000e card.

My current solution for initramfs-tools is:

- take source code of initramfs-tools_0.93.4-grml02 from http://deb.grml.org/pool/main/i/initramfs-tools

- revert commit 836e5cf6ddb30757365c2b879b96958c250dcd7b - mkinitramfs: only copy modprobe conf files (which was reverted in commit 60e66ab6f7e799ac99e051fd8877f5b54758f454 that's not included in initramfs-tools_0.93.4-grml02),
 because it breaks compatibility with lenny.
- compile and make a new version for my local repo

Here's a diff of the source codes of initramfs-tools_0.93.4-grml02 and my local version:

diff -Naurp initramfs-tools-0.93.4-grml02/debian/changelog initramfs-tools-0.93.4-grml02~hbpo02/debian/changelog --- initramfs-tools-0.93.4-grml02/debian/changelog 2010-08-16 23:03:01.000000000 +0200 +++ initramfs-tools-0.93.4-grml02~hbpo02/debian/changelog 2010-08-16 23:03:33.000000000 +0200
@@ -1,3 +1,16 @@
+initramfs-tools (0.93.4-grml02~hbpo02) lenny; urgency=low
+
+  * revert copying only /etc/modprobe.d/*.conf to  *
+    as it breaks compatibility with lenny
+
+ -- hoonet local system user <hoouser@hpedebsv19.hpe.hoonet.org> Sun, 15 Aug 2010 19:06:42 +0200
+
+initramfs-tools (0.93.4-grml02~hbpo01) lenny; urgency=low
+
+  * rebuild for lenny
+
+ -- hoonet local system user <hoouser@hpedebsv19.hpe.hoonet.org> Thu, 20 May 2010 15:57:00 +0200
+
initramfs-tools (0.93.4-grml02) unstable; urgency=low

  * New release based on upstream's git tree.
diff -Naurp initramfs-tools-0.93.4-grml02/mkinitramfs initramfs-tools-0.93.4-grml02~hbpo02/mkinitramfs --- initramfs-tools-0.93.4-grml02/mkinitramfs 2010-08-16 23:03:01.000000000 +0200 +++ initramfs-tools-0.93.4-grml02~hbpo02/mkinitramfs 2010-08-16 23:03:33.000000000 +0200
@@ -237,7 +237,7 @@ copy_exec /sbin/modprobe /sbin
copy_exec /sbin/depmod /sbin
copy_exec /sbin/rmmod /sbin
mkdir -p "${DESTDIR}/etc/modprobe.d"
-cp -a /etc/modprobe.d/*.conf "${DESTDIR}/etc/modprobe.d/"
+cp -a /etc/modprobe.d/* "${DESTDIR}/etc/modprobe.d/"

# workaround: libgcc always needed on old-abi arm
if [ "$DPKG_ARCH" = arm ] || [ "$DPKG_ARCH" = armeb ]; then

- recompile fai 3.3.5 (current) for my local repo
Else all the machines get initrams-tools=0.97 installed that is shipped with
deb http://www.informatik.uni-koeln.de/fai/download lenny koeln
in /etc/apt/sources.list.



Furthermore I needed to add an extra functionality to live-initramfs:
Do dhcp in live-initramfs on the nic with the mac-address gotten from pxelinux BOOTIF parameter (ipappend 2).
I will open an extra bug (wishlist) with a patch attached.


To make a long story short:

My Questions are:

Is this version I prepared/use (0.93.4-grml02~hbpo02) compatible with lenny (for fai nfsroot !and! the installed machines)? - I get no error messages when I use it (o: Is every version of initramfs-tools after commit 553aa3742ca43b4ba4e87b2dea2c5d31cc43a124 - mkinitramfs: generate pre-cached boot order file (and so also >=0.94) incompatible with lenny (breaks f.e. the plain lenny version of cryptsetup 1.0.6-7,... ?)?

mainly: Am I right or do I miss something? (o:

If so:

Would it make sense to downgrade initramfs-tools shipped with fai repo of uni koeln?


Cheers

Holger Fischer




Reply to: