fixup review comments

Signed-off-by: Seth Jennings <sjenning@redhat.com>
This commit is contained in:
Seth Jennings 2015-04-29 12:53:39 -05:00
parent aae4d82ecc
commit bfc088ff89
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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}