[lxc-devel] 答复: ask for Android building script

Stéphane Graber stgraber at ubuntu.com
Tue Oct 14 07:27:42 UTC 2014


The lxc python module is in the main upstream git branch, that's the
standard python3 binding for LXC.

So typically, on a system that has python3-lxc installed, you can get an
Android build by:
 - git clone git://github.com/lxc/lxc-ci
 - cd lxc-ci/deps

 - Download the arm Android NDK for x86_64 as android-ndk-linux-x86_64.tar.bz2
 - Copy genetlink.h from a recent armhf Linux distro (not included in Android NDK)
 - (See the README for the other files though you shouldn't need them)

 - cd ..
 - mkdir -p /tmp/tarballs /tmp/android
 - sudo bin/build-tarballs git://github.com/lxc/lxc master HEAD /tmp/tarballs/
 - sudo bin/build-android /tmp/tarballs/lxc.tar.gz /tmp/android

On Tue, Oct 14, 2014 at 03:09:31PM +0800, 朱敏(寻龙) wrote:
> I have read the lxc_ci __init__.py. It imports lxc module, is this module in lxc source tree. Is there any readme or guide to explain how to setup the build environment?
> 
> -----邮件原件-----
> 发件人: lxc-devel [mailto:lxc-devel-bounces at lists.linuxcontainers.org] 代表 Stéphane Graber
> 发送时间: 2014年10月13日 17:36
> 收件人: LXC development mailing-list
> 主题: Re: [lxc-devel] ask for Android building script
> 
> On Mon, Oct 13, 2014 at 04:30:12PM +0800, 朱敏(寻龙) wrote:
> > Dear all,
> > 
> > Anyone can kindly send me the android building script? I want to 
> > integrate lxc into android for some experiment test.
> 
> The current build script can be found in github.com/lxc/lxc-ci
> 
> > 
> >  
> > 
> > Thanks a lot
> > 
> >  
> > 
> 
> > _______________________________________________
> > lxc-devel mailing list
> > lxc-devel at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-devel
> 
> 
> --
> Stéphane Graber
> Ubuntu developer
> http://www.ubuntu.com
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20141014/b19da59e/attachment.sig>


More information about the lxc-devel mailing list