Permalink
Browse files

udev-extra-rules: Add root devices to blacklist

This adds /dev/mmcblk0[p[12]] to the udev blacklist, preventing
them from showing up in /media/ at boot.
  • Loading branch information...
1 parent eb7b7e9 commit 735a72489c98b95a58800a5c555f5323ef5eed29 Sean Cross committed Mar 7, 2012
@@ -0,0 +1,3 @@
+PRINC := "${@int(PRINC) + 1}"
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
@@ -0,0 +1,6 @@
+/dev/loop
+/dev/ram
+/dev/mtdblock
+/dev/mmcblk0
+/dev/mmcblk0p1
+/dev/mmcblk0p2

0 comments on commit 735a724

Please sign in to comment.