]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
make install should create /var/cache/lxc directory
authorDwight Engen <dwight.engen@oracle.com>
Wed, 5 Dec 2012 20:05:02 +0000 (15:05 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 5 Dec 2012 20:23:27 +0000 (15:23 -0500)
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
Makefile.am
lxc.spec.in

index 863f8fde0cf88c85c9f9897bb44dabefdaeae4ca..7b3232646bf7ba6295afdc43f4d5ca08ffee1fb8 100644 (file)
@@ -11,6 +11,7 @@ pcdata_DATA = lxc.pc
 
 install-data-local:
        $(MKDIR_P) $(DESTDIR)$(LXCPATH)
+       $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc
 
 ChangeLog::
        @touch ChangeLog
index bc69d6863196e99fa522ce0d9d2393d1ce5ef8e1..094c34d5b432fe675b2dfcc0e430dcb74c6ce52f 100644 (file)
@@ -98,6 +98,7 @@ rm -rf %{buildroot}
 %{_libdir}/*.so.*
 %{_libdir}/%{name}
 @LXCPATH@
+%{_localstatedir}/cache/lxc
 %attr(4555,root,root) %{_libexecdir}/%{name}/lxc-init
 
 %files devel