summaryrefslogtreecommitdiffstats
path: root/docs/release/scenarios/os-nosdn-ovs-noha/index.rst
blob: 9726dd07ef7a61b8bd04165fee406ad59babc6ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.. _os-nosdn-ovs-noha1:

.. This work is licensed under a Creative Commons Attribution 4.0 International Licence.
.. http://creativecommons.org/licenses/by/4.0
.. (c) 2018 Mirantis Inc., Enea Software AB and others

==========================================
os-nosdn-ovs-noha overview and description
==========================================

.. toctree::
   :numbered:
   :maxdepth: 2

   os-nosdn-ovs-noha.rst
>}: Kernel build failed" rm -rf ${rpmbuild_dir} exit 1 fi cp -f ${artifact_dir}/* ${output_dir} rm -rf ${rpmbuild_dir} } quirks(){ # # Apply out of tree patches # SRC=/root for i in $SRC/kvmfornfv/patches/$1/*.patch do if [ -f "$i" ] then echo "Applying: $i" patch -p1 <$i fi done } kernel_deb_build(){ VERSION="1.0.OPNFV" # Configure the kernel cd kernel # Workaround build bug on Ubuntu 14.04 cat <<EOF > arch/x86/boot/install.sh #!/bin/sh cp -a -- "\$2" "\$4/vmlinuz-\$1" EOF # Build the kernel debs make-kpkg clean fakeroot make-kpkg --initrd --revision=$VERSION kernel_image kernel_headers make mv /root/kvmfornfv/linux-* /root/kvmfornfv/build_output } if [ $pkg_type == "centos" ];then kernel_rpm_build elif [ $pkg_type == "ubuntu" ];then quirks kernel kernel_deb_build fi