]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi-initrd: replace long-time deprecated $tempnode with $devnode
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 20 Jun 2024 12:22:40 +0000 (14:22 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 23 Jun 2024 11:37:20 +0000 (13:37 +0200)
mkosi/resources/mkosi-initrd/mkosi.extra/usr/lib/udev/rules.d/10-mkosi-initrd-md.rules

index f26af821e5f0a5f37d9029c105d1b64ed1258c74..c90d0f617edf0f1f023db82a0e29986f8a9ad706 100644 (file)
@@ -19,7 +19,7 @@ ATTR{md/array_state}=="|clear|inactive", GOTO="md_end"
 
 LABEL="md_ignore_state"
 
-IMPORT{program}="/sbin/mdadm --detail --export $tempnode"
+IMPORT{program}="/sbin/mdadm --detail --export $devnode"
 IMPORT{builtin}="blkid"
 OPTIONS+="link_priority=100"
 OPTIONS+="watch"