martin f. krafft: Copy udev rules to initramfs
Martin F. Krafft
madduck at alioth.debian.org
Tue Oct 27 19:45:40 UTC 2009
Module: mdadm
Branch: build
Commit: 01b5fb99d574e10812614b638eccfaa44e510b51
URL: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=01b5fb99d574e10812614b638eccfaa44e510b51
Author: martin f. krafft <madduck at debian.org>
Date: Tue Oct 27 18:27:54 2009 +0100
Copy udev rules to initramfs
udev stopped doing that, so we have to.
Debian-Bug: http://bugs.debian.org/549298
Signed-off-by: martin f. krafft <madduck at debian.org>
Conflicts:
debian/changelog
---
debian/changelog | 2 ++
debian/initramfs/hook | 4 ++++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 133abe6..21abebb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ mdadm (3.0-4) unstable; urgency=low
* Acknowledge 3.0-3.1 NMU by Christian Kujau (patch by Marco d'Itri)
(closes: #541884), and add util-linux dependency.
+ * Copy udev rules into initramfs, which udev stopped doing
+ (closes: #549535, #549083, #538843, #538143).
* Switch to TopGit and split Debian diff into topic branches; add
README.source.
diff --git a/debian/initramfs/hook b/debian/initramfs/hook
index 24a0a14..d4a6237 100644
--- a/debian/initramfs/hook
+++ b/debian/initramfs/hook
@@ -281,6 +281,10 @@ if [ "$INITRDSTART" != none ] && [ -n "$devpairs" ]; then
done
fi
+ # Copy udev rules, which udev no longer does
+ 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
More information about the pkg-mdadm-commits
mailing list