aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mdev-like-a-boss/0001-adjust-sample-conf-for-alpine-packaging.patch
blob: 1e50f7cc5494da9c47c7e567c2b526a7149c4843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From 3d1e9fa5fad1746cf9058f4ef709e0e69d9f4cf2 Mon Sep 17 00:00:00 2001
From: Isaac Dunham <ibid.ag@gmail.com>
Date: Sun, 31 Jan 2016 20:27:13 -0800
Subject: [PATCH] adjust sample conf for alpine packaging

---
 mdev.conf | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/mdev.conf b/mdev.conf
index d23b083..161e5bf 100644
--- a/mdev.conf
+++ b/mdev.conf
@@ -45,19 +45,19 @@ ttyS[0-9]*  root:uucp 660
 # block devices
 ram([0-9]*)     root:disk 660 >rd/%1
 loop([0-9]+)    root:disk 660 >loop/%1
-sd[a-z].*       root:disk 660 */opt/mdev/helpers/storage-device
-vd[a-z].*       root:disk 660 */opt/mdev/helpers/storage-device
-hd[a-z].*       root:disk 660 */opt/mdev/helpers/storage-device
-md[0-9]*        root:disk 660 */opt/mdev/helpers/storage-device
-dm-[0-9]*       root:disk 660 */opt/mdev/helpers/storage-device
-bcache[0-9]*    root:disk 660 */opt/mdev/helpers/storage-device
-mmcblk[0-9].*   root:disk 660 */opt/mdev/helpers/storage-device
+sd[a-z].*       root:disk 660 */lib/mdev-like-a-boss/storage-device
+vd[a-z].*       root:disk 660 */lib/mdev-like-a-boss/storage-device
+hd[a-z].*       root:disk 660 */lib/mdev-like-a-boss/storage-device
+md[0-9]*        root:disk 660 */lib/mdev-like-a-boss/storage-device
+dm-[0-9]*       root:disk 660 */lib/mdev-like-a-boss/storage-device
+bcache[0-9]*    root:disk 660 */lib/mdev-like-a-boss/storage-device
+mmcblk[0-9].*   root:disk 660 */lib/mdev-like-a-boss/storage-device
 sr[0-9]*        root:cdrom 660 @ln -sf $MDEV cdrom
 fd[0-9]*        root:floppy 660
 
 # Run settle-nics every time new NIC appear.
-# If you don't want to auto-populate /etc/mactab with NICs, run 'settle-nis' without '--write-mactab' param.
--SUBSYSTEM=net;DEVPATH=.*/net/.*;.*     root:root 600 @/opt/mdev/helpers/settle-nics --write-mactab
+# If you don't want to auto-populate /etc/mactab with NICs, run 'settle-nics' without '--write-mactab' param.
+-SUBSYSTEM=net;DEVPATH=.*/net/.*;.*     root:root 600 @/lib/mdev-like-a-boss/settle-nics --write-mactab
 
 net/tun[0-9]*   root:kvm 660
 net/tap[0-9]*   root:root 600
@@ -111,7 +111,7 @@ cpu([0-9]+)     root:root 600 =cpu/%1/cpuid
 msr([0-9]+)     root:root 600 =cpu/%1/msr
 
 # Populate /dev/bus/usb.
-SUBSYSTEM=usb;DEVTYPE=usb_device;.* root:root 660 */opt/mdev/helpers/proc-bus-usb
+SUBSYSTEM=usb;DEVTYPE=usb_device;.* root:root 660 */lib/mdev-like-a-boss/proc-bus-usb
 
 # Catch-all other devices, Right now useful only for debuging.
-#.* root:root 660 */opt/mdev/helpers/catch-all
+#.* root:root 660 */lib/mdev-like-a-boss/catch-all
-- 
2.7.0