<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">Hi Nikola,<br>
<br>
getting back to you about including lxc templates in the debian distrib:<br>
<br>
It seems debian/control already contains your gist (exect maybe that the
"Replaces" and "Breaks" version are different: "lxc (<<
0.8.0~rc1-4ubuntu43)" but it'd probably not make any difference )<br>
<br>
But still, it doesn't include the templates when building.<br>
<br>
Everything seems ready to be compiled in lxc/templates but how do you
include it in the deb package creation?<br>
<br>
configure.ac seems to include templates/Makefile so I guess it should be
built, i dont' get why not.<br>
<br>
I could copy /usr/share/lxc/templates from an Ubuntu install, but I'd be
nice to know how to include it during build.<br>
<br>
Sorry, I've never created a deb package and I'm not even too familiar
with builds under linux....<br>
<br>
Cheers<br>
<br>
<blockquote style="border: 0px none;"
cite="mid:20140522113339.0f771c34@gmail.com" type="cite">
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="kotnick@gmail.com" photoname="Nikola Kotur"
src="cid:part1.06030601.07080805@gmail.com" name="postbox-contact.jpg"
height="25px" width="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:kotnick@gmail.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Nikola Kotur</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">22 May 2014 17:33</span></font></div></div></div>
<div style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><pre wrap="">On Wed, 21 May 2014 18:05:44 +0800
coolnodje <a class="moz-txt-link-rfc2396E" href="mailto:coolnodje@gmail.com"><coolnodje@gmail.com></a> wrote:
</pre><blockquote type="cite"><pre wrap="">I realize there's no template coming with your Debian packaging
(/usr/share/lxc/templates is empty).
Was it intentional?
</pre></blockquote><pre wrap=""><!---->
Yes, I don't need templates, so I didn't add them to the package.
In case you do want to build them, add this to debian/control:
<a class="moz-txt-link-freetext" href="https://gist.github.com/kotnik/48ca8d5145854d096a83">https://gist.github.com/kotnik/48ca8d5145854d096a83</a>
</pre><blockquote type="cite"><pre wrap="">I was also wondering why dpkg made me install dnsmasq-base (how does
it compare to dnsmasq?) but not dnsmasq, which is needed with for the
default /etc/default/lxc-net config.
</pre></blockquote><pre wrap=""><!---->
dnsmasq-base package contains the executable and documentation, dnsmasq
is just the tooling needed to run it as a daemon.
</pre><pre wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre></div>
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="coolnodje@gmail.com" photoname="coolnodje"
src="cid:part2.05050904.08030903@gmail.com"
name="compose-unknown-contact.jpg" height="25px" width="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:coolnodje@gmail.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">coolnodje</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">16 May 2014 11:26</span></font></div></div></div>
<div style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
apt-get remove lxc did the
job before compiling 1.0.3.<br>
<br>
there's nothing left in /usr/bin and `which lxc-create` confirms it
comes from /usr/local/bin<br>
<br>
So I understand, as expected, there shouldn't be any discrepancy between
the Ubuntu 1.0.3 packaged version and the one I compiled on Debian,
right?<br>
<br>
Something must have gone wrong then: could the option I used
--with-distro=debian make a difference during ./configure?<br>
<br>
Also, I'd like to have everything in standard "packaged lxc" location
except for the binaries. Would ./configure --prefix=/
--bindir=/usr/local would do ?<br>
The INSTALL file in the distrib is really well done and useful but a
confirmation would be helpful.<br>
<br>
Thanks<br>
<br>
</div>
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="coolnodje@gmail.com" photoname="coolnodje"
src="cid:part2.05050904.08030903@gmail.com"
name="compose-unknown-contact.jpg" height="25px" width="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:coolnodje@gmail.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">coolnodje</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">15 May 2014 18:34</span></font></div></div></div>
<div style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div>Hi,<br><br>I've just
compiled1.0.3 from source on Debian 7.5, without trouble.<br><br>But I
still get a behaviour that seem closer to v~0.8 that I got from<br>apt-get
beforehand, than to the version coming with Ubuntu 14.04.<br><br>It's
also not consistent with the <a class="moz-txt-link-freetext" href="https://linuxcontainers.org">https://linuxcontainers.org</a> "How to<br>use
it?":<br>no `lxc-ls --fancy` option, no --version available, no man
page...<br><br>Did I do something wrong when compiling ?<br><br>./configure
--with-distro=debian<br>make<br>make install<br>ldconfig<br><br>cheers<br>-nodje<br></div></div>
</blockquote>
</body></html>