[Lunar-commits] <moonbase-core> mdadm: Install udev rules in proper dir when systemd is in use

Peter de Ridder peter at lunar-linux.org
Sat Aug 18 00:10:42 CEST 2012


commit 94cf36b56e61fb70319b06797f38f699a71400d7
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Fri, 17 Aug 2012 15:10:42 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/94cf36b56e61fb70319b06797f38f699a71400d7

mdadm: Install udev rules in proper dir when systemd is in use
---
  utils/mdadm/BUILD                                            +3/-0     
  1 files changed, 3 insertions (+), 0 deletions (-)

--- a/utils/mdadm/BUILD
+++ b/utils/mdadm/BUILD
@@ -1,4 +1,7 @@
 (
+   if module_installed systemd; then
+      sedit 's@/lib/udev/rules.d/64-md-raid.rules@/usr\0@' Makefile
+   fi  &&
 
    default_make
 




More information about the Lunar-commits mailing list