summaryrefslogtreecommitdiffstats
path: root/fuel-plugin/build_kvm.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-06-22 08:47:04 -0700
committerGuo Ruijing <ruijing.guo@intel.com>2017-06-22 08:47:21 -0700
commit10e9106094d2989909eaa0015a45574137b7776c (patch)
tree8a9f3163b91a7e761497680c03fd42dabacfb009 /fuel-plugin/build_kvm.sh
parent465249b61b72d33fe1fad8d43da332faef22bec0 (diff)
cleanup: remove fuel plugin since fuel@opnfv uses mcp
Change-Id: I5e0687008c53ee03973da5a3b58880b9b7c7de1c Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'fuel-plugin/build_kvm.sh')
-rwxr-xr-xfuel-plugin/build_kvm.sh52
1 files changed, 0 insertions, 52 deletions
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 <<EOF > arch/x86/boot/install.sh
-#!/bin/sh
-cp -a -- "\$2" "\$4/vmlinuz-\$1"
-EOF
-
-# Configure the kernel
-cp $CONFIG .config
-
-make oldconfig </dev/null
-
-# Build the kernel debs
-make-kpkg clean
-
-fakeroot make-kpkg --initrd --revision=$VERSION kernel_image kernel_headers -j$(nproc)
-
-cp $SRC/kvmfornfv/linux-headers*.deb /kvmfornfv/.
-cp $SRC/kvmfornfv/linux-image*.deb /kvmfornfv/.