On Thu, 2012-12-06 at 12:46 -0500, Dwight Engen wrote: > On Thu, 06 Dec 2012 12:30:18 -0500 > "Michael H. Warfield" <m...@wittsend.com> wrote:
<Snip> > Yeah, the duplicates are just warnings, but we probably should fix it by > listing the files individually instead of using the glob. > > > > Also got a /usr/local/var/lib/lxc in there at line 100 that's > > > "@LXCPATH@". That doesn't look right. Shouldn't that have ended > > > up /var/lib/lxc without the "/usr/local" part? Shouldn't that be > > > using the rpm macros there too? > When you run ./configure, you have to pass the same options rpmbuild > will to make sure LXCPATH gets expanded right. Yeah, problem is that it's blowing in the rpmbuild. So something isn't getting passed right in the spec file. Looks like that line in the spec file should have been this... %{_localstatedir}/lib/lxc Instead of this (like I set it)... /var/lib/lxc And certainly not this... /usr/local/var/lib/lxc Not sure where the breakage was but I'm guess the line in lxc.spec.in at line 65 is the culprit... -- %{_libdir}/%{name} @LXCPATH@ %{_localstatedir}/cache/lxc -- Maybe should have been... -- %{_libdir}/%{name} %{_localstatedir}/var/lxc %{_localstatedir}/cache/lxc -- There may be a more appropriate macro for /var/lib but I'm not sure of it. > > > After making those corrections, I was able to build rpms for F17 > > > and I'm starting testing from them now. My test system is running right now with the prealpha git code installed from rpms I built from stage with those corrections. I have F14, F15, and F17 containers as well as CentOS 5 and 6 containers. All seem content. Regards, Mike -- Michael H. Warfield (AI4NB) | (770) 985-6132 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel