mirror of
https://github.com/dynup/kpatch
synced 2024-12-22 13:12:06 +00:00
fixup review comments
Signed-off-by: Seth Jennings <sjenning@redhat.com>
This commit is contained in:
parent
aae4d82ecc
commit
bfc088ff89
@ -12,7 +12,6 @@ LIBEXECDIR = $(DESTDIR)$(PREFIX)/libexec/kpatch
|
|||||||
DATADIR = $(DESTDIR)$(PREFIX)/share/kpatch
|
DATADIR = $(DESTDIR)$(PREFIX)/share/kpatch
|
||||||
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
|
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
|
||||||
SYSTEMDDIR = $(DESTDIR)$(PREFIX)/lib/systemd/system
|
SYSTEMDDIR = $(DESTDIR)$(PREFIX)/lib/systemd/system
|
||||||
DRACUTDIR = $(DESTDIR)/usr/$(LIBDIR)/dracut/modules.d/99kpatch
|
|
||||||
|
|
||||||
.PHONY: all install clean
|
.PHONY: all install clean
|
||||||
.DEFAULT: all
|
.DEFAULT: all
|
||||||
|
@ -3,7 +3,9 @@ Description="Apply kpatch kernel patches"
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
ExecStart=/usr/sbin/kpatch load --all
|
ExecStart=/usr/sbin/kpatch load --all
|
||||||
|
ExecStop=/usr/sbin/kpatch unload --all
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -68,7 +68,7 @@ make %{_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
PREFIX=/usr make install DESTDIR=%{buildroot}
|
make install PREFIX=/%{_usr} DESTDIR=%{buildroot}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
Loading…
Reference in New Issue
Block a user