blob: 966828be1dd25dfc0515c761b01c660268ec0b42 (
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
|
diff -u -r mwavem-1.0.2.orig/src/mwavem/Makefile.am mwavem-1.0.2/src/mwavem/Makefile.am
--- mwavem-1.0.2.orig/src/mwavem/Makefile.am Wed Jul 17 08:25:02 2002
+++ mwavem-1.0.2/src/mwavem/Makefile.am Wed Jul 17 08:25:35 2002
@@ -6,12 +6,13 @@
install-exec-local:
-chmod 755 mwaved
- -mkdir -p /dev/modems
- -mknod --mode=660 /dev/modems/mwave c 10 219
- -cp -f /etc/modules.conf /etc/modules.conf~
- -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
+# -mkdir -p /dev/modems
+# -mknod --mode=660 /dev/modems/mwave c 10 219
+ -mkdir -p ${D}/etc/modules.d
+ -cp -f /etc/modules.d/aliases ${D}/etc/modules.d
+ -grep 'alias char-major-10-219 mwave' ${D}/etc/modules.d/aliases || echo "alias char-major-10-219 mwave" >>${D}/etc/modules.d/aliases
uninstall-local:
- -cp -f /etc/modules.conf /etc/modules.conf~
- -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
+# -cp -f /etc/modules.conf /etc/modules.conf~
+# -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
diff -u -r mwavem-1.0.2.orig/src/mwavem/Makefile.in mwavem-1.0.2/src/mwavem/Makefile.in
--- mwavem-1.0.2.orig/src/mwavem/Makefile.in Wed Jul 17 08:25:02 2002
+++ mwavem-1.0.2/src/mwavem/Makefile.in Wed Jul 17 08:26:01 2002
@@ -321,14 +321,15 @@
install-exec-local:
-chmod 755 mwaved
- -mkdir -p /dev/modems
- -mknod --mode=660 /dev/modems/mwave c 10 219
- -cp -f /etc/modules.conf /etc/modules.conf~
- -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
+# -mkdir -p /dev/modems
+# -mknod --mode=660 /dev/modems/mwave c 10 219
+ -mkdir -p ${D}/etc/modules.d
+ -cp -f /etc/modules.d/aliases ${D}/etc/modules.d
+ -grep 'alias char-major-10-219 mwave' ${D}/etc/modules.d/aliases || echo "alias char-major-10-219 mwave" >>${D}/etc/modules.d/aliases
uninstall-local:
- -cp -f /etc/modules.conf /etc/modules.conf~
- -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
+# -cp -f /etc/modules.conf /etc/modules.conf~
+# -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
|