172
edits
Changes
m
# cd ~/workbench/
→Building OpenVZ kernels: path fixing
CONFIG_SQUASHFS=m
CONFIG_SQUASHFS_EMBEDDED=n
</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