[Marco d'Itri]
> Even simpler. Since you know where the package installed the file
> you can just copy it.

Right.  So something like this would work then.

diff -ur mdadm-3.0/debian/initramfs/hook mdadm-3.0-pere/debian/initramfs/hook
--- mdadm-3.0/debian/initramfs/hook     2009-10-24 23:46:21.000000000 +0200
+++ mdadm-3.0-pere/debian/initramfs/hook        2009-10-25 11:56:08.000000000 
+0100
@@ -281,6 +281,9 @@
     done
   fi

+  # Copy udev rules, udev want to stop copying it
+  mkdir -p $DESTDIR/lib/udev/rules.d/
+  cp /lib/udev/rules.d/64-md-raid.rules $DESTDIR/lib/udev/rules.d/
 else
   echo "MD_DEVS=none" >> $DESTCONFIG
   echo "MD_MODULES=''" >> $DESTCONFIG

The patch is still untested, I do not have a machine to test it on.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to