Please unblock kqemu
Hi,
the current kqemu package in testing suffers from having no proper
creation of the /dev/kqemu device. The -5 revision fixes this and
slightly updates README.Debian.
Please unblock it, debdiff is attached.
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann@panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/
diff -u kqemu-1.3.0~pre9/debian/README.Debian kqemu-1.3.0~pre9/debian/README.Debian
--- kqemu-1.3.0~pre9/debian/README.Debian
+++ kqemu-1.3.0~pre9/debian/README.Debian
@@ -4,13 +4,14 @@
The Debian kqemu-source package can be used in several ways,
+ - Using module-assistant(1) commands provided by the module-assistant Debian
+ package:
+
+ # module-assistant prepare kqemu
+ # module-assistant auto-install kqemu
+
- Using the make-kpkg(1) command provided by the kernel-package Debian
- package. This will produce a corresponding kqemu-modules package for
- the Debian kernel-image package that you are using. This is "the Debian
- way". See the "modules_image" section of the make-kpkg(1) man page.
-
- - Changing to the /usr/src/modules/kqemu/ directory and building as
- the README file instructs using "make; make install". This will build
- and install a module specific to the system you are building on and is
- not under control of the packaging system.
+ package. See the "modules_image" section of the make-kpkg(1) man page.
+
+ - Unpacking /usr/src/kqemu-*.tar.bz2 and installing the module on your own.
-- Daniel Baumann <daniel@debian.org> Fri, 17 Nov 2006 08:29:00 +0100
diff -u kqemu-1.3.0~pre9/debian/control.modules.in kqemu-1.3.0~pre9/debian/control.modules.in
--- kqemu-1.3.0~pre9/debian/control.modules.in
+++ kqemu-1.3.0~pre9/debian/control.modules.in
@@ -7,7 +7,8 @@
Package: kqemu-modules-_KVERS_
Architecture: any
-Depends: linux-image-_KVERS_, qemu (>= 0.8.2)
+Depends: linux-image-_KVERS_
+Recommends: qemu (>= 0.8.1)
Provides: kqemu-modules
Description: kqemu modules for Linux (kernel _KVERS_).
This package contains the set of loadable kernel modules for the
diff -u kqemu-1.3.0~pre9/debian/kqemu-modules-_KVERS_.postinst.modules.in kqemu-1.3.0~pre9/debian/kqemu-modules-_KVERS_.postinst.modules.in
--- kqemu-1.3.0~pre9/debian/kqemu-modules-_KVERS_.postinst.modules.in
+++ kqemu-1.3.0~pre9/debian/kqemu-modules-_KVERS_.postinst.modules.in
@@ -4,7 +4,17 @@
case "${1}" in
configure)
- echo -n " * Creating kqemu device: "
+ if [ -d /etc/udev ]
+ then
+ # Creating /etc/udev/kqemu.rules
+ echo 'KERNEL=="kqemu", MODE="0660", GROUP="kqemu"' > /etc/udev/kqemu.rules
+
+ # Creating /etc/udev/rules.d/099_kqemu.rules
+ ln -sf ../kqemu.rules /etc/udev/rules.d/099_kqemu.rules
+ fi
+
+ # Creating /etc/modprobe.d/kqemu
+ echo 'options kqemu major=0' > /etc/modprobe.d/kqemu
# Remove existing device
if [ -e /dev/kqemu ]
@@ -15,8 +25,6 @@
# Create new device
mknod /dev/kqemu c 250 0
chmod 0660 /dev/kqemu
-
- echo "done."
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff -u kqemu-1.3.0~pre9/debian/kqemu-modules-_KVERS_.postrm.modules.in kqemu-1.3.0~pre9/debian/kqemu-modules-_KVERS_.postrm.modules.in
--- kqemu-1.3.0~pre9/debian/kqemu-modules-_KVERS_.postrm.modules.in
+++ kqemu-1.3.0~pre9/debian/kqemu-modules-_KVERS_.postrm.modules.in
@@ -4,11 +4,10 @@
case "${1}" in
remove)
- echo -n " * Removing kqemu device: "
-
+ rm -f /etc/udev/kqemu.rules
+ rm -f /etc/udev/rules.d/099_kqemu.rules
+ rm -f /etc/modprobe.d/kqemu
rm -f /dev/kqemu
-
- echo "done."
;;
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
diff -u kqemu-1.3.0~pre9/debian/changelog kqemu-1.3.0~pre9/debian/changelog
--- kqemu-1.3.0~pre9/debian/changelog
+++ kqemu-1.3.0~pre9/debian/changelog
@@ -1,3 +1,18 @@
+kqemu (1.3.0~pre9-5) unstable; urgency=medium
+
+ * Fixed typo in the maintainer scripts (Closes: #405178).
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 2 Dec 2007 16:16:00 +0100
+
+kqemu (1.3.0~pre9-4) unstable; urgency=medium
+
+ * Updated README.Debian:
+ - adding a note about module-assistant (Closes: #401278, #402403).
+ * The qemu maintainer do not care to answer at all on #400788, therefore I'm
+ including the udev rules here :/ (Closes: #400139).
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 31 Dec 2006 16:07:00 +0100
+
kqemu (1.3.0~pre9-3) unstable; urgency=low
* Added install.sh to kqemu-source (Closes: #401174).
Reply to: