56c534ad98
The kvm_timer_advance_setup service was packaged and installed as part of nova-compute package prior to containerizing nova. The service file has been updated to start before kubelet. The service becomes enabled by puppet which writes a config file containing the vcpu_pin_set information. The utility script has been updated. The .sh extension has been added, and it passes bashate. Updated the license to GPLv2 since the tuned package where the script was dervied from is GPLv2. Change-Id: Iff90c46826a88283e42a980e7823593599f03206 Closes-Bug: 1823751 Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
42 lines
837 B
RPMSpec
42 lines
837 B
RPMSpec
Summary: StarlingX KVM Timer Advance Package
|
|
Name: kvm-timer-advance
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: GPLv2
|
|
Group: base
|
|
Packager: StarlingX
|
|
URL: unknown
|
|
|
|
Source: %name-%version.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
Requires: qemu-kvm-tools-ev
|
|
Requires: systemd
|
|
|
|
|
|
%description
|
|
StarlingX KVM Timer Advance Package
|
|
|
|
%define debug_package %{nil}
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%build
|
|
|
|
%install
|
|
install -d -m 755 %{buildroot}%{_sysconfdir}/%{name}
|
|
install -p -D -m 755 setup_kvm_timer_advance.sh %{buildroot}%{_bindir}/setup_kvm_timer_advance.sh
|
|
install -p -D -m 444 kvm_timer_advance_setup.service %{buildroot}%{_unitdir}/kvm_timer_advance_setup.service
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc LICENSE
|
|
%{_bindir}/setup_kvm_timer_advance.sh
|
|
%{_unitdir}/kvm_timer_advance_setup.service
|
|
%dir %{_sysconfdir}/%{name}
|