vdr/vdr/debian changelog control vdr.postinst
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 24 Apr 2004 18:25:39 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv17091/vdr/debian
Modified Files:
changelog control vdr.postinst
Log Message:
use "MAKEDEV dvb" to generate dvb-devices
Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/changelog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- changelog 24 Apr 2004 15:47:03 -0000 1.6
+++ changelog 24 Apr 2004 18:25:37 -0000 1.7
@@ -8,6 +8,8 @@
- Change architecture of package vdr to all - it does not
contain any architecture-dependent files anymore
- Cleaned up some parts to avoid lintian warnings and errors
+ - Use makedev for device-generation in postinst, therefore
+ depend on makedev
* Tobias Grimm <vdr@e-tobi.net>
- added automatic loading of plugins in init script from c't vdr
Index: vdr.postinst
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.postinst,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- vdr.postinst 21 Apr 2004 14:19:07 -0000 1.1.1.1
+++ vdr.postinst 24 Apr 2004 18:25:37 -0000 1.2
@@ -23,31 +23,6 @@
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
-make_devices ()
-{
- if [ ! -e /dev/dvb ]; then
- mkdir /dev/dvb
- chmod 755 /dev/dvb
-
- for i in `seq 0 3`; do
- mkdir /dev/dvb/adapter$i
- chmod 755 /dev/dvb/adapter$i
- mknod -m 0660 /dev/dvb/adapter$i/video0 c 250 `expr 64 \* $i + 0`
- mknod -m 0660 /dev/dvb/adapter$i/audio0 c 250 `expr 64 \* $i + 1`
- mknod -m 0660 /dev/dvb/adapter$i/frontend0 c 250 `expr 64 \* $i + 3`
- mknod -m 0660 /dev/dvb/adapter$i/demux0 c 250 `expr 64 \* $i + 4`
- mknod -m 0660 /dev/dvb/adapter$i/dvr0 c 250 `expr 64 \* $i + 5`
- mknod -m 0660 /dev/dvb/adapter$i/ca0 c 250 `expr 64 \* $i + 6`
- mknod -m 0660 /dev/dvb/adapter$i/net0 c 250 `expr 64 \* $i + 7`
- mknod -m 0660 /dev/dvb/adapter$i/osd0 c 250 `expr 64 \* $i + 8`
- chown root.video /dev/dvb/adapter$i/*
- done
- fi
-}
-
-
-
-
# source debconf lib
#. /usr/share/debconf/confmodule
@@ -82,7 +57,7 @@
if [ ! -e /dev/dvb ]; then
db_get vdr/create_devices
if $RET; then
- make_devices
+ MAKEDEV dvb
fi
fi
Index: control
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/control,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- control 24 Apr 2004 14:36:39 -0000 1.3
+++ control 24 Apr 2004 18:25:37 -0000 1.4
@@ -7,7 +7,7 @@
Package: vdr
Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, vdr-kbd | vdr-lirc | vdr-rcu | vdr-daemon
+Depends: ${shlibs:Depends}, ${misc:Depends}, vdr-kbd | vdr-lirc | vdr-rcu | vdr-daemon, makedev (>=2.3.1-66)
Description: Video Disk Recorder for DVB cards
Video Disk Recorder (VDR) is a digital sat-receiver program using
Linux and DVB technologies. It allows one to record MPEG2 streams,