summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/bootpart-automount.rules
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/udev/files/bootpart-automount.rules')
-rw-r--r--recipes-core/udev/files/bootpart-automount.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-core/udev/files/bootpart-automount.rules b/recipes-core/udev/files/bootpart-automount.rules
new file mode 100644
index 0000000..8b02dec
--- /dev/null
+++ b/recipes-core/udev/files/bootpart-automount.rules
@@ -0,0 +1,6 @@
+# Toradex specific, to bind mount boot partition to /boot.
+#
+# To be noticed: Be careful if you want to change the rule file name, it must be loaded
+# by udevd after automount.rules, otherwise, the original mount point might be not present.
+#
+ACTION=="add", KERNEL=="mmcblk[0-9]p[0-9]*", RUN+="/etc/udev/scripts/toradex-mount-bootpart.sh"