[Users] OpenVZ Compilation Help

Phil Daws uxbod at splatnix.net
Fri Jul 3 03:30:25 PDT 2015


Hi Vasily,

Yes, will build the whole kernel as I have a dedicated CentOS6 build server for all my locally maintained packages.

Thanks, Phil

----- On 3 Jul, 2015, at 10:25, Vasily Averin vvs at virtuozzo.com wrote:

> Dear Phil.
> 
> Are you sure that you want to rebuild whole kernel?
> 
> If you want to build some 3rd-party module only -- there is much simple way.
> Just install according vzkenrel and vzkernel-devel packages on your node and
> use out-of-tree compilation described in
> http://lxr.free-electrons.com/source/Documentation/kbuild/modules.txt
> 
> thank you,
>	Vasily Averin
> 
> On 03.07.2015 11:12, Phil Daws wrote:
>> Hello all:
>> 
>> Request a little help please in compiling up a new OpenVZ kernel (CentOS 6) with
>> an additional module enabled.
>> 
>> I have setup the rpmbuild environment, downloaded the source RPM
>> https://openvz.org/Download/kernel/rhel6/042stab108.5, and installed the
>> kernel.  Then following https://openvz.org/Kernel_build I ran menuconfig and
>> enabled the additional module.  The next step, according to the wiki, is to
>> copy the .config to "$TOPDIR/SOURCES directory, but use the corresponding file
>> name in the target directory" so if my arch is x86_64 do I copy it to
>> SOURCES/config-x86_64-generic or the rhel derivative ? Then once that is done
>> execute rpmbuild -ba --target=x86_64 vzkernel.spec to generate the kernel RPM ?
>> 
>> Many thanks for your help, Phil
>> 
>> (null)
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://lists.openvz.org/mailman/listinfo/users

(null)


More information about the Users mailing list