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

View File

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

View File

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