summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/etc/udev/rules.d/99-boot-dev-ownership.rules
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/etc/udev/rules.d/99-boot-dev-ownership.rules')
-rw-r--r--config/chroot_local-includes/etc/udev/rules.d/99-boot-dev-ownership.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/chroot_local-includes/etc/udev/rules.d/99-boot-dev-ownership.rules b/config/chroot_local-includes/etc/udev/rules.d/99-boot-dev-ownership.rules
new file mode 100644
index 0000000..0073bae
--- /dev/null
+++ b/config/chroot_local-includes/etc/udev/rules.d/99-boot-dev-ownership.rules
@@ -0,0 +1,6 @@
+# Fix for Debian bug #645466.
+# Note: Must be applied after /lib/udev/rules.d/91-permissions.rules
+
+SUBSYSTEM=="block", SUBSYSTEMS=="usb", \
+ IMPORT{program}="/usr/local/sbin/udev-boot-dev-helper %k"
+SUBSYSTEM=="block", SUBSYSTEMS=="usb", ENV{IS_ON_BOOT_DEV}=="yes", GROUP="disk"