#3 11-dm-mpath.rules: fix warnings reported by udevadm verify
Merged 10 months ago by jskarvad. Opened 10 months ago by ldv.
rpms/ ldv/uhd rawhide  into  rawhide

file modified
+1 -1
@@ -177,7 +177,7 @@ 

  %cmake_install

  

  # Fix udev rules and use dynamic ACL management for device

- sed -i 's/BUS==/SUBSYSTEM==/;s/SYSFS{/ATTRS{/;s/MODE:="0666"/GROUP:="usrp" MODE:="0660", ENV{ID_SOFTWARE_RADIO}="1"/' %{buildroot}%{_libdir}/uhd/utils/uhd-usrp.rules

+ sed -i 's/BUS==/SUBSYSTEM==/;s/SYSFS{/ATTRS{/;s/MODE:="0666"/GROUP:="usrp", MODE:="0660", ENV{ID_SOFTWARE_RADIO}="1"/' %{buildroot}%{_libdir}/uhd/utils/uhd-usrp.rules

  mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d

  mv %{buildroot}%{_libdir}/uhd/utils/uhd-usrp.rules %{buildroot}%{_prefix}/lib/udev/rules.d/10-usrp-uhd.rules

  

Fix the following warnings reported by udevadm verify:

10-usrp-uhd.rules:9 A comma between tokens is expected.
10-usrp-uhd.rules:12 A comma between tokens is expected.
10-usrp-uhd.rules:15 A comma between tokens is expected.
10-usrp-uhd.rules:16 A comma between tokens is expected.
10-usrp-uhd.rules:17 A comma between tokens is expected.
10-usrp-uhd.rules:18 A comma between tokens is expected.
10-usrp-uhd.rules:19 A comma between tokens is expected.
10-usrp-uhd.rules: udev rules check failed

Pull-Request has been merged by jskarvad

10 months ago
Metadata