Sisyphus repository
Last update: 19 july 2019 | SRPMs: 17691 | Visits: 14352970
en ru br
ALT Linux repos
S:0.1.0-alt1

Group :: Emulators
RPM: kvm-on-demand

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: kvm-on-demand
Version: 0.1.0
Release: alt1
Summary: Udev rules to load kvm kernel modules on demand
License: GPLv3+
Group: Emulators
Source0: %name.sh.in
Source1: %name.rules.in
Source2: blacklist-kvm.conf
Source3: kvm.conf
BuildArch: noarch

%description
Udev rules to load kvm kernel modules on demand.


%prep
install -p -m 0644 %{S:0} ./%name.sh.in
install -p -m 0644 %{S:1} ./%name.rules.in
install -p -m 0644 %{S:2} ./blacklist-kvm.conf
install -p -m 0644 %{S:3} ./kvm.conf


%build
for f in *.in; do
sed 's/ at name at /%name/' $f > $(basename $f .in)
done


%install
install -pD -m 0755 %name.sh %buildroot/lib/udev/%name
install -d -m 0755 %buildroot%_sysconfdir/{modprobe,udev/rules}.d
install -p -m 0644 *.rules %buildroot%_sysconfdir/udev/rules.d/
install -p -m 0644 *.conf %buildroot%_sysconfdir/modprobe.d/


%files
%attr(0744,root,root) /lib/udev/*
%_sysconfdir/udev/rules.d/*
%config(noreplace) %_sysconfdir/modprobe.d/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin