packaging: hotfix the udev rules 32/270632/2
authorMateusz Majewski <m.majewski2@samsung.com>
Mon, 7 Feb 2022 06:33:18 +0000 (07:33 +0100)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 7 Feb 2022 06:41:38 +0000 (06:41 +0000)
I have no idea how did this work in first place.

Change-Id: I775ed415f26df23f9542aa532691eba38c1f3b9c

packaging/peripheral-io.udev.rules

index 61de265..42474b5 100644 (file)
@@ -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}="*"