|
|
82b65c |
Name: kpatch
|
|
|
82b65c |
Version: 0.6.1
|
|
|
82b65c |
Release: 3%{?dist}
|
|
|
82b65c |
Summary: Dynamic kernel patch manager
|
|
|
82b65c |
|
|
|
82b65c |
Group: System Environment/Kernel
|
|
|
82b65c |
License: GPLv2
|
|
|
82b65c |
URL: https://github.com/dynup/kpatch
|
|
|
82b65c |
Source0: https://github.com/dynup/kpatch/archive/v%{version}.tar.gz
|
|
|
82b65c |
Patch0: 0001-contrib-disable-upstart-kpatch.conf-install.patch
|
|
|
82b65c |
Patch1: 0002-contrib-service-don-t-unload-modules-on-stop.patch
|
|
|
82b65c |
|
|
|
82b65c |
Requires: bash kmod binutils
|
|
|
82b65c |
|
|
|
82b65c |
BuildArch: noarch
|
|
|
82b65c |
|
|
|
82b65c |
|
|
|
82b65c |
%description
|
|
|
82b65c |
kpatch is a live kernel patch module manager. It allows the user to manage
|
|
|
82b65c |
a collection of binary kernel patch modules which can be used to dynamically
|
|
|
82b65c |
patch the kernel without rebooting.
|
|
|
82b65c |
|
|
|
82b65c |
|
|
|
82b65c |
%prep
|
|
|
82b65c |
%setup -q
|
|
|
82b65c |
%patch0 -p1
|
|
|
82b65c |
%patch1 -p1
|
|
|
82b65c |
|
|
|
82b65c |
|
|
|
82b65c |
%build
|
|
|
82b65c |
make -C man
|
|
|
82b65c |
|
|
|
82b65c |
|
|
|
82b65c |
%install
|
|
|
82b65c |
make install PREFIX=/usr DESTDIR=%{buildroot} -C kpatch
|
|
|
82b65c |
make install PREFIX=/usr DESTDIR=%{buildroot} -C man
|
|
|
82b65c |
make install PREFIX=/usr DESTDIR=%{buildroot} -C contrib
|
|
|
82b65c |
rm -f %{buildroot}/usr/share/man/man1/kpatch-build.1.gz
|
|
|
82b65c |
|
|
|
82b65c |
|
|
|
82b65c |
%files
|
|
|
82b65c |
%{_sbindir}/kpatch
|
|
|
82b65c |
%{_usr}/lib/systemd/system/kpatch.service
|
|
|
82b65c |
%doc %{_mandir}/man1/kpatch.1.gz
|
|
|
82b65c |
|
|
|
82b65c |
|
|
|
82b65c |
%changelog
|
|
|
82b65c |
* Wed Jun 12 2019 Joe Lawrence <joe.lawrence@redhat.com> 0.6.1-2
|
|
|
82b65c |
- kpatch: patches shouldn't be unloaded on system shutdown (rhbz#1719305)
|
|
|
82b65c |
|
|
|
82b65c |
* Wed Jun 5 2019 Josh Poimboeuf <jpoimboe@redhat.com> 0.6.1-2
|
|
|
82b65c |
- CI gating test (rhbz#1717417)
|
|
|
82b65c |
|
|
|
82b65c |
* Tue Aug 14 2018 Joe Lawrence <joe.lawrence@redhat.com> 0.6.1-1
|
|
|
82b65c |
- update to 0.6.1 (rhbz#1615880)
|
|
|
82b65c |
|
|
|
82b65c |
* Mon Aug 13 2018 Troy Dawson <tdawson@redhat.com> - 0.4.0-4
|
|
|
82b65c |
- Release Bumped for el8 Mass Rebuild
|
|
|
82b65c |
|
|
|
82b65c |
* Thu Nov 16 2017 Joe Lawrence <joe.lawrence@redhat.com> 0.4.0-3
|
|
|
82b65c |
- kpatch: better livepatch module support (rhbz#1504066)
|
|
|
82b65c |
|
|
|
82b65c |
* Wed Oct 18 2017 Josh Poimboeuf <jpoimboe@redhat.com> 0.4.0-2
|
|
|
82b65c |
- fix backwards compatibility with RHEL 7.3 patches (rhbz#1497735)
|
|
|
82b65c |
|
|
|
82b65c |
* Mon Mar 13 2017 Josh Poimboeuf <jpoimboe@redhat.com> 0.4.0-1
|
|
|
82b65c |
- update to 0.4.0 (rhbz#1427642)
|
|
|
82b65c |
|
|
|
82b65c |
* Wed Jun 15 2016 Josh Poimboeuf <jpoimboe@redhat.com> 0.3.2-1
|
|
|
82b65c |
- update to 0.3.2 (rhbz#1282508)
|
|
|
82b65c |
|
|
|
82b65c |
* Wed Nov 18 2015 Josh Poimboeuf <jpoimboe@redhat.com> 0.3.1-1
|
|
|
82b65c |
- update to 0.3.1 (rhbz#1282508)
|
|
|
82b65c |
|
|
|
82b65c |
* Tue Sep 16 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-4
|
|
|
82b65c |
- fix dracut dependencies (rhbz#1170369)
|
|
|
82b65c |
|
|
|
82b65c |
* Tue Sep 16 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-3
|
|
|
82b65c |
- support re-enabling forced modules (rhbz#1140268)
|
|
|
82b65c |
|
|
|
82b65c |
* Thu Sep 11 2014 Seth Jennings <sjenning@redhat.com> 0.1.10-2
|
|
|
82b65c |
- support modprobe format names (rhbz#1133045)
|
|
|
82b65c |
|
|
|
82b65c |
* Thu Jul 31 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.10-1
|
|
|
82b65c |
- update to kpatch 0.1.10
|
|
|
82b65c |
|
|
|
82b65c |
* Wed Jul 23 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.9-1
|
|
|
82b65c |
- update to kpatch 0.1.9
|
|
|
82b65c |
|
|
|
82b65c |
* Tue Jul 15 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.8-1
|
|
|
82b65c |
- update to kpatch 0.1.8
|
|
|
82b65c |
|
|
|
82b65c |
* Wed May 21 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.2-1
|
|
|
82b65c |
- update to kpatch 0.1.2
|
|
|
82b65c |
|
|
|
82b65c |
* Mon May 19 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.1-2
|
|
|
82b65c |
- fix initramfs core module path
|
|
|
82b65c |
|
|
|
82b65c |
* Mon May 19 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.1-1
|
|
|
82b65c |
- rebase to kpatch 0.1.1
|
|
|
82b65c |
|
|
|
82b65c |
* Fri May 9 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.0-2
|
|
|
82b65c |
- modprobe core module
|
|
|
82b65c |
|
|
|
82b65c |
* Tue May 6 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.1.0-1
|
|
|
82b65c |
- Initial kpatch release 0.1.0
|
|
|
82b65c |
|
|
|
82b65c |
* Thu Jan 30 2014 Josh Poimboeuf <jpoimboe@redhat.com> 0.0-1
|
|
|
82b65c |
- Initial build
|