/
githubmirror
/
mdevctl
Обзор
Документация
Войти
/
githubmirror
/
mdevctl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
0.47
mdevctl.spec.in
47 строк
1 KB
Alex Williamson
Update spec Source0 url
17 июл 2019, 23:17
17 июл 2019, 23:17
52654b4
Код
Авторство
О чём код?
%global commit #COMMIT# Name: mdevctl Version: #VERSION# Release: 1%{?dist} Summary: Mediated device management and persistence utility Group: System Environment/Kernel License: LGPLv2 URL: https://github.com/mdevctl/mdevctl BuildArch: noarch Source0: https://github.com/mdevctl/mdevctl/archive/%{version}/%{name}-%{version}-%{commit}.tar.gz BuildRequires: systemd Requires(post,postun): %{_sbindir}/udevadm Requires: coreutils udev jq %description mdevctl is a utility for managing and persisting devices in the mediated device device framework of the Linux kernel. Mediated devices are sub-devices of a parent device (ex. a vGPU) which can be dynamically created and potentially used by drivers like vfio-mdev for assignment to virtual machines. %prep %setup -q -n %{name}-%{version}-%{commit} %install %make_install %files %license COPYING %doc README.md %{_sbindir}/mdevctl %{_udevrulesdir}/60-mdevctl.rules %{_unitdir}/mdev@.service %dir %{_sysconfdir}/mdevctl.d %{_mandir}/man8/mdevctl.8* %post %udev_rules_update %postun %udev_rules_update %changelog