Skip to content

Commit

Permalink
mdadm: Do not install udev rules
Browse files Browse the repository at this point in the history
We don't want raid assembly done by udev, because we use some mariux
specific tool for it. By not installing these udev rules, we no longer
need to mask them which is currently done by the mdadm-fixup package.

Remove udev rule files from image.
  • Loading branch information
donald committed May 23, 2018
1 parent 33f38b3 commit ff217e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mdadm.be0
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,7 @@ mee_install_post() {
start_cmd install -D -m 755 ${S}/raid6check ${D}${BINDIR}
start_cmd install -D -m 644 ${S}/raid6check.8 ${D}${MANDIR}/man8
start_cmd install -D -m 755 ${S}/misc/mdcheck ${D}${BINDIR}
rm ${D}/lib/udev/rules.d/63-md-raid-arrays.rules
rm ${D}/lib/udev/rules.d/64-md-raid-assembly.rules
rmdir ${D}/lib/udev/rules.d ${D}/lib/udev ${D}/lib
}

0 comments on commit ff217e7

Please sign in to comment.