mirror of
https://github.com/dynup/kpatch
synced 2024-12-22 05:10:01 +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
|
||||
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
|
||||
SYSTEMDDIR = $(DESTDIR)$(PREFIX)/lib/systemd/system
|
||||
DRACUTDIR = $(DESTDIR)/usr/$(LIBDIR)/dracut/modules.d/99kpatch
|
||||
|
||||
.PHONY: all install clean
|
||||
.DEFAULT: all
|
||||
|
@ -3,7 +3,9 @@ Description="Apply kpatch kernel patches"
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/sbin/kpatch load --all
|
||||
ExecStop=/usr/sbin/kpatch unload --all
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -68,7 +68,7 @@ make %{_smp_mflags}
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
PREFIX=/usr make install DESTDIR=%{buildroot}
|
||||
make install PREFIX=/%{_usr} DESTDIR=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
Loading…
Reference in New Issue
Block a user