r80 - mdadm/trunk/debian

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Mon Aug 7 10:09:29 UTC 2006


Author: madduck
Date: 2006-08-07 10:09:29 +0000 (Mon, 07 Aug 2006)
New Revision: 80

Modified:
   mdadm/trunk/debian/README.initramfs-transition
   mdadm/trunk/debian/mdadm.postinst
   mdadm/trunk/debian/mdadm.postrm
Log:
building initramfs for all kernels

Modified: mdadm/trunk/debian/README.initramfs-transition
===================================================================
--- mdadm/trunk/debian/README.initramfs-transition	2006-08-07 10:09:08 UTC (rev 79)
+++ mdadm/trunk/debian/README.initramfs-transition	2006-08-07 10:09:29 UTC (rev 80)
@@ -41,11 +41,11 @@
   rm /usr/share/initramfs-tools/hooks/md
   sed -i -e 's,^PREREQ=\"md\"$,PREREQ=\"mdadm\",' \
     /usr/share/initramfs-tools/scripts/local-top/lvm
-  update-initramfs -u -k$(uname -r)
+  update-initramfs -u -k all
 
-(that -k is due to #375671. If update-initramfs says something about
-initrd having been altered and refuses to do something, use -t unless you
-modified the initrd on purpose and don't want it overwritten.)
+If update-initramfs says something about initrd having been altered and
+refuses to do something, use -t unless you modified the initrd on purpose and
+don't want it overwritten.
 
 Again, please report success or failure to me.
 

Modified: mdadm/trunk/debian/mdadm.postinst
===================================================================
--- mdadm/trunk/debian/mdadm.postinst	2006-08-07 10:09:08 UTC (rev 79)
+++ mdadm/trunk/debian/mdadm.postinst	2006-08-07 10:09:29 UTC (rev 80)
@@ -110,7 +110,7 @@
 
   db_stop
 
-  command -v update-initramfs >/dev/null && update-initramfs -u
+  command -v update-initramfs >/dev/null && update-initramfs -u -k all
 fi
 
 # remove S04 installed as a fix to #294404 as it does not work

Modified: mdadm/trunk/debian/mdadm.postrm
===================================================================
--- mdadm/trunk/debian/mdadm.postrm	2006-08-07 10:09:08 UTC (rev 79)
+++ mdadm/trunk/debian/mdadm.postrm	2006-08-07 10:09:29 UTC (rev 80)
@@ -8,7 +8,7 @@
     if command -v update-initramfs >/dev/null; then
       echo "W: mdadm: I'll update the initramfs, but if you need RAID to boot" >&2
       echo "W: mdadm: with initramfs, you'll be screwed!" >&2
-      update-initramfs -u
+      update-initramfs -u -k all
     fi
     ;;
 




More information about the pkg-mdadm-commits mailing list