[oe] [meta-oe 1/1] lxc : Add recipe for building Linux Containers tools.

Philip Balister philip at balister.org
Thu May 3 10:59:43 UTC 2012


On 05/02/2012 02:54 PM, Koen Kooi wrote:
> Op 02-05-12 19:45, Philip Balister schreef:
>> Linux containers are a lightweight virtualization system.
> 
>> Compile tested on F15 and lightly run tested on a pandaboard.
> 
>> Signed-off-by: Philip Balister <philip at balister.org> --- 
>> meta-oe/recipes-extended/lxc/lxc_git.bb |   21 +++++++++++++++++++++ 1
>> files changed, 21 insertions(+), 0 deletions(-) create mode 100644
>> meta-oe/recipes-extended/lxc/lxc_git.bb
> 
>> diff --git a/meta-oe/recipes-extended/lxc/lxc_git.bb
>> b/meta-oe/recipes-extended/lxc/lxc_git.bb new file mode 100644 index
>> 0000000..8f22e77 --- /dev/null +++
>> b/meta-oe/recipes-extended/lxc/lxc_git.bb @@ -0,0 +1,21 @@ +SUMMARY =
>> "Linux Containers tools" +DESCRIPTION = "Linux containers are a light
>> weight isolation system for Linux." +HOMEPAGE =
>> "http://lxc.sourceforge.net" +LICENSE = "LGPLv2.1"
> 
> Move LIC_FILES_CHKSUM to here
> 
>> + +PV = "0.8.0-rc2"
> 
> That violates the versioning policy
> 
>> + +RDEPENDS_${PN} = "perl perl-modules"
> 
> That needs to go below do_install() and specify the actual modules it needs,
> not the blanket meta-package.
> 

I agree, but I ran out of time messing with it. It looks like the
RDEPENDS are not set for perl modules, so you need to list them all.
There is one perl script in the lxc utilities that imports one perl
module. This module imports another, rinse lather repeat. I gave up and
sucked in the whole mess so I could get work done.

I'll gladly make a note this is not optimal in the commit message. I
doubt lsc will become super popular on embedded systems, and when it
does we can clean up the perl modules.


> Speaking of lxc, have you tried systemd-nspawn to launch containers yet?

Not yet. Still trying to get my head around the whole concept. One step
at a time.

Philip


> 
> regards,
> 
> Koen

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel at lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





More information about the Openembedded-devel mailing list