X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kvmfornfv.git;a=blobdiff_plain;f=fuel-plugin%2Fbuild_kvm.sh;fp=fuel-plugin%2Fbuild_kvm.sh;h=0000000000000000000000000000000000000000;hp=40220b7b0559a274cebb982a18e6d5da9bf3abab;hb=2dd9dea0edaf1157e4cb914240821d22fe1ca5b0;hpb=4525b15e86b4c7e2d426988c4ec1a11132a9f51b diff --git a/fuel-plugin/build_kvm.sh b/fuel-plugin/build_kvm.sh deleted file mode 100755 index 40220b7b0..000000000 --- a/fuel-plugin/build_kvm.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash - -SRC=/root -CONFIG="arch/x86/configs/opnfv.config" -VERSION="1.0.OPNFV" - -quirks() { -# -# Apply out of tree patches -# -for i in $SRC/kvmfornfv/patches/$1/*.patch -do - if [ -f "$i" ] - then - echo "Applying: $i" - patch -p1 <$i - fi -done -} - -apt-get update -apt-get install -y git fakeroot build-essential ncurses-dev xz-utils kernel-package bc autoconf automake libtool python python-pip libssl-dev - -# -# Build kernel in another directory, so some files (which are root writeable only) generated during kernel -# building wouldn't remain in the source directory mapped into Docker container -# -cp -r /kvmfornfv $SRC/. - -cd $SRC/kvmfornfv/ -quirks kernel - -cd kernel - -# Workaround build bug on Ubuntu 14.04 -cat < arch/x86/boot/install.sh -#!/bin/sh -cp -a -- "\$2" "\$4/vmlinuz-\$1" -EOF - -# Configure the kernel -cp $CONFIG .config - -make oldconfig