dkms-kqemu enhancements

Till Maas opensource at till.name
Thu Jun 28 00:45:28 CEST 2007


Hello,

here are some sniplets of files, that would be useful when added to the 
dkms-kqemu package. The first one ensures, that /dev/kqemu is created 
automatically when kqemu.ko is loaded, the second one makes kqemu.ko be 
loaded at booting and the last configures the permissions of /dev/kqemu (it 
consists of only one line). The GROUP needs to be adjusted, obviosly. The 
udev rule is only useful, when you create a kqemu group in the package. But 
if you not, it may be useful in the docdir for users to install it manually 
with their own username.

%{_sysconfdir}/modprobe.d/kqemu
options kqemu major=0

%{_sysconfdir}/sysconfig/modules/kqemu.modules
#!/bin/sh
/sbin/modprobe kqemu &>/dev/null

%{_sysconfdir}/udev/rules.d/90-kqemu.rules
ACTION=="add", DEVPATH=="/class/misc/kqemu", OWNER="root", MODE="0660", 
GROUP="till"

Regards,
Till


More information about the freshrpms-list mailing list