Commit 4245ba50 by Dwight Engen Committed by Stéphane Graber

make install should create $LXCPATH directory

The $LXCPATH (default /var/lib/lxc) directory was not being created by make install, so unless it gets created by some other means (packaging tools), commands such as lxc-create will fail. Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 6a85cf91
...@@ -9,6 +9,9 @@ EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS ChangeLog ...@@ -9,6 +9,9 @@ EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS ChangeLog
pcdatadir = $(libdir)/pkgconfig pcdatadir = $(libdir)/pkgconfig
pcdata_DATA = lxc.pc pcdata_DATA = lxc.pc
install-data-local:
$(MKDIR_P) $(DESTDIR)$(LXCPATH)
ChangeLog:: ChangeLog::
@touch ChangeLog @touch ChangeLog
......
...@@ -97,6 +97,7 @@ rm -rf %{buildroot} ...@@ -97,6 +97,7 @@ rm -rf %{buildroot}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_libdir}/%{name} %{_libdir}/%{name}
@LXCPATH@
%attr(4555,root,root) %{_libexecdir}/%{name}/lxc-init %attr(4555,root,root) %{_libexecdir}/%{name}/lxc-init
%files devel %files devel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment