Changes

Jump to: navigation, search

Creating OpenVZ LiveCD based on Centos 4.4

28 bytes added, 07:36, 3 July 2007
m
Building OpenVZ kernels: path fixing
CONFIG_SQUASHFS=m
CONFIG_SQUASHFS_EMBEDDED=n
# cd ~/workbench/
</pre>
After all efforts, building the RPM-package is very easy:
<pre>
# cd /usr/src/redhat/SPECS/
# rpmbuild --target=i686 -ba kernel-ovz.spec
</pre>
If everything goes smoothly, in several tens of minutes depending on the power of your node you willl have OpenVZ kernel RPM-package with <tt>squashfs</tt> support. Let's copy it to our local directory <tt>to_booted_livecd/kernels/</tt>:
<pre>
# cd ~/workbench/
# ls /usr/src/redhat/RPMS/i686/
kernel-smp-2.6.18-ovz028stab035.1.i686.rpm
172
edits

Navigation menu