From 1a7096c8122e8e70f4d2deeb0b23afcfd76c1a2e Mon Sep 17 00:00:00 2001 From: Mateusz Majewski Date: Mon, 7 Feb 2022 07:33:18 +0100 Subject: [PATCH] packaging: hotfix the udev rules I have no idea how did this work in first place. Change-Id: I775ed415f26df23f9542aa532691eba38c1f3b9c (cherry picked from commit 9cd66279d5e3f088ece7de2226a9cb6b44f892c0) --- packaging/peripheral-io.udev.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/peripheral-io.udev.rules b/packaging/peripheral-io.udev.rules index 61de265..42474b5 100644 --- a/packaging/peripheral-io.udev.rules +++ b/packaging/peripheral-io.udev.rules @@ -2,10 +2,10 @@ SUBSYSTEM=="gpio", KERNEL=="gpiochip[0-9]*", ACTION=="add",\ MODE="0660", OWNER="root", GROUP="priv_peripheralio", SECLABEL{smack}="*" SUBSYSTEM=="gpio", KERNEL=="gpio[0-9]*", ACTION=="add",\ - RUN+="/usr/libexec/peripheral-io/apply-udev-file /sys%p value direction edge" + RUN+="/usr/libexec/peripheral-io/apply-peripheral-io-perms /sys%p value direction edge" SUBSYSTEM=="pwm", KERNEL=="pwm*", ACTION=="change",\ - RUN+="/usr/libexec/peripheral-io/apply-udev-file /sys%p/%E{EXPORT} period duty_cycle polarity enable" + RUN+="/usr/libexec/peripheral-io/apply-peripheral-io-perms /sys%p/%E{EXPORT} period duty_cycle polarity enable" SUBSYSTEM=="i2c-dev", KERNEL=="i2c-*", ACTION=="add", \ MODE="0660", OWNER="root", GROUP="priv_peripheralio", SECLABEL{smack}="*" -- 2.7.4