summaryrefslogtreecommitdiff
path: root/recipes/mdadm
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mdadm')
-rw-r--r--recipes/mdadm/mdadm.inc2
-rw-r--r--recipes/mdadm/mdadm_3.1.2.bb11
2 files changed, 12 insertions, 1 deletions
diff --git a/recipes/mdadm/mdadm.inc b/recipes/mdadm/mdadm.inc
index a944e0b190..2e91d1e5f1 100644
--- a/recipes/mdadm/mdadm.inc
+++ b/recipes/mdadm/mdadm.inc
@@ -4,7 +4,7 @@ device arrays using the "md" driver in Linux, also \
known as Software RAID arrays."
LICENSE = "GPL"
-SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/raid/mdadm/${PN}-${PV}.tar.bz2"
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/raid/mdadm/${PN}-${PV}.tar.bz2;name=mdadm-${PV}"
CFLAGS += "-fno-strict-aliasing"
diff --git a/recipes/mdadm/mdadm_3.1.2.bb b/recipes/mdadm/mdadm_3.1.2.bb
new file mode 100644
index 0000000000..b2f44a283e
--- /dev/null
+++ b/recipes/mdadm/mdadm_3.1.2.bb
@@ -0,0 +1,11 @@
+require mdadm.inc
+SRC_URI[mdadm-3.1.2.md5sum] = "c5a39f38c465229767a5af2a4eb81bef"
+SRC_URI[mdadm-3.1.2.sha256sum] = "ff831c433c386039163ac09c84b02132a8bb8ad5a0bdb571ff91211980124d68"
+
+PR = "r0"
+
+PACKAGES += "${PN}-udev"
+RRECOMMENDS_${PN} = "${PN}-udev"
+RRECOMMENDS_${PN}-udev = "udev"
+
+FILES_${PN}-udev = "/lib/udev/rules.d/64-md-raid.rules" \ No newline at end of file