[lxc-devel] Create LXC 0.8.0 rpm on/for Centos

Igor Mitsyanko i.mitsyanko at samsung.com
Thu Mar 7 15:47:45 UTC 2013




On 03/07/2013 04:29 PM, Serge Hallyn wrote:
> Quoting Igor Mitsyanko (i.mitsyanko at samsung.com):
>>
>>
>> On 03/07/2013 03:33 AM, Leon Waldman wrote:
>>> Hi,
>>>
>>>
>>> I'm trying to build the rpm using the included spec file, but the
>>> compile is failing with a "You must install the AppArmor development
>>> package in order to compile lxc".
>>>
>>> I'm building it in/for CentOS and (AFAIK) there is no AppArmor
>>> development package for it.
>>>
>>> Is there any way to build the RPM from the source tarball without it? If
>>> not, is there any alternative?
>>>
>>>
>>> Thanks in advance.
>>>
>> Maybe I'm missing something, but couldn't you just pass
>> "--disable-apparmor" to configure script?
> In fact if you don't have the apparmor libs, configure should default to
> disabling apparmor.  If it's not, that's a bug.


In 0.8.0 it was default to enable apparmor anyway, but looks like it has 
been fixed in current git master, good to know.

>
> thanks,
> -serge
>

-- 
Mitsyanko Igor
ASWG, Moscow R&D center, Samsung Electronics
email: i.mitsyanko at samsung.com






More information about the lxc-devel mailing list