[arch-commits] Commit in mdadm/trunk (PKGBUILD mdadm_udev_install)

Christian Hesse eworm at gemini.archlinux.org
Mon Nov 29 20:02:02 UTC 2021


    Date: Monday, November 29, 2021 @ 20:02:01
  Author: eworm
Revision: 429490

use add_udev_rule() for initcpio hook

Modified:
  mdadm/trunk/PKGBUILD
  mdadm/trunk/mdadm_udev_install

--------------------+
 PKGBUILD           |    2 +-
 mdadm_udev_install |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 19:54:03 UTC (rev 429489)
+++ PKGBUILD	2021-11-29 20:02:01 UTC (rev 429490)
@@ -18,7 +18,7 @@
         'mdadm_udev_install')
 sha256sums=('SKIP'
             '4ce1e90690282f98e4828e11576fbd61be65e97a2cdae6c7eac7035ea5ee53e5'
-            '170b0e5d548416c0adb9df4e6941bea6bc33d843419c997e45ecaf9e36a58f38')
+            'b6782029bdae2d7f87ea0e332bb90f72a7792e933580e37602e81e2f1bb82a9c')
 
 prepare() {
   cd mdadm

Modified: mdadm_udev_install
===================================================================
--- mdadm_udev_install	2021-11-29 19:54:03 UTC (rev 429489)
+++ mdadm_udev_install	2021-11-29 20:02:01 UTC (rev 429490)
@@ -9,9 +9,9 @@
         add_file "/etc/mdadm.conf"
     fi
 
-    add_binary "/usr/bin/mdadm"
-    add_file "/usr/lib/udev/rules.d/63-md-raid-arrays.rules"
-    add_file "/usr/lib/udev/rules.d/64-md-raid-assembly.rules"
+    map add_udev_rule \
+        '63-md-raid-arrays.rules' \
+        '64-md-raid-assembly.rules'
 }
 
 help() {



More information about the arch-commits mailing list