[lxc-devel] [PATCH] Porcelain for lxc commands; easy management of system-level containers.

Daniel Lezcano daniel.lezcano at free.fr
Mon May 9 16:10:50 UTC 2011


On 05/01/2011 06:09 AM, Nigel McNie wrote:
> Right.. that was my first time sending a patch via e-mail for a few years..
> apologies if I've got things wrong!
>
> I need help with the Makefile stuff. I'm afraid I've never written a program
> using the configure/make/make install system before, so I really have no
> idea how to write the makefile.

Ok, I am ready to post the configure / Makefile patches.
I set the default to disable porcelain commands with configure, so 
people using lxc on small systems won't have to install extra library 
dependencies and an update won't break their builds.

To finish the patches, I need a few informations:
> lxc.pl should be installed in bindir as 'lxc'

Does it mean you want to perlcc lxc.pl ?

> lib/LXC/Commands.pm should be in whatever directory would correspond to
> /usr/share/perl5 on a debian system.

In order to comply with the perl naming policy shouldn't we name LXC => 
Lxc ?

> The files in upstart/ should be installed in /etc/init on ubuntu type
> systems.

Hum, IMO we need to think about that and look if it is not up to the 
package maintainer to handle that.

> The other files are probably irrelevant.
>
> All feedback most welcome of course, and I shall re-submit patches as
> required.

Thanks Nigel
   -- Daniel




More information about the lxc-devel mailing list