kernel-package calls mkinitramfs, which leaves update-initramfs out of
water as it gets no sha1sum. this breaks on simultaneous upgrades
of linux-image and any initramfs-tools
(atm only udev and evms, but lvm and mdadm are soon expected too...)

initramfs-tools 0.53 is carrying that wrapper so the dep might
have to be pumped too.


--- kernel-package-10.035/kernel/ruleset/misc/initrd.mk.orig    2006-02-27 
17:17:12.000000000 +0100
+++ kernel-package-10.035/kernel/ruleset/misc/initrd.mk 2006-02-27 
17:18:20.000000000 +0100
@@ -66,7 +66,7 @@ ifneq ($(strip $(INITRD)),)
         # mkinitrd.yaird, we shall do the dependency here
         initrddep := initrd-tools (>= 0.1.84)
       else
-        initrdcmd := mkinitramfs mkinitrd.yaird
+        initrdcmd := mkinitramfs-kpkg mkinitrd.yaird
       endif
     endif
   endif
@@ -79,7 +79,7 @@ ifneq ($(strip $(INITRD)),)
       initrddep := yaird (>= 0.0.11-8)
     endif
   endif
-  ifneq (,$(findstring mkinitramfs,$(initrdcmd)))
+  ifneq (,$(findstring mkinitramfs-kpkg,$(initrdcmd)))
     ifneq (,$(strip $(initrddep)))
       initrddep := $(initrddep) | initramfs-tools (>= 0.35)
     else
@@ -90,7 +90,7 @@ ifneq ($(strip $(INITRD)),)
   ifneq (,$(findstring yaird,$(initrdcmd)))
     initrddep := $(initrddep) | linux-initramfs-tool
   else
-    ifneq (,$(findstring mkinitramfs,$(initrdcmd)))
+    ifneq (,$(findstring mkinitramfs-kpkg,$(initrdcmd)))
       initrddep := $(initrddep) | linux-initramfs-tool
     endif
   endif

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to