aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-umlkernel
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2012-11-19 10:43:42 +0100
committerTobias Brunner <tobias@strongswan.org>2012-12-18 16:00:21 +0100
commitaa5803e0e3368172d7674ff760983c568118df16 (patch)
tree000b01af72c7a8599c066224c7c819540124f428 /testing/scripts/build-umlkernel
parent0080daa78789bb7012bc0f80dd6b4ff0d47e41a3 (diff)
downloadstrongswan-aa5803e0e3368172d7674ff760983c568118df16.tar.bz2
strongswan-aa5803e0e3368172d7674ff760983c568118df16.tar.xz
testing: Switch to Debian based guest images
Instead of extracting a downloaded Gentoo filesystem tree into a file containing a reiserfs filesystem, create an ext3 filesystem inside a sparse file, mount it and debootstrap an up-to-date Debian system. Use this image as base for all UML guest images. Also, drop support for the various consoles and use xterm unconditionally.
Diffstat (limited to 'testing/scripts/build-umlkernel')
-rwxr-xr-xtesting/scripts/build-umlkernel13
1 files changed, 2 insertions, 11 deletions
diff --git a/testing/scripts/build-umlkernel b/testing/scripts/build-umlkernel
index b9f0d710d..44e27c2b2 100755
--- a/testing/scripts/build-umlkernel
+++ b/testing/scripts/build-umlkernel
@@ -67,15 +67,6 @@ fi
cecho " * Changing to directory '$BUILDDIR'"
cd $BUILDDIR
-LOGFILE=${BUILDDIR}/testing.log
-
-if [ ! -f $LOGFILE ]
-then
- cecho-n " * Logfile '$LOGFILE' does not exist..creating.."
- touch $LOGFILE
- cgecho "done"
-fi
-
cecho-n " * Unpacking kernel.."
tar xjf $KERNEL >> $LOGFILE 2>&1
cgecho "done"
@@ -119,10 +110,10 @@ cp $KERNELCONFIG .config
cecho "!!"
cecho "!! Making .config for kernel. You might be prompted for new parameters!"
cecho "!!"
-make oldconfig ARCH=um SUBARCH=i386 2>&1 | tee -a $LOGFILE
+make oldconfig ARCH=um 2>&1 | tee -a $LOGFILE
cecho-n " * Now compiling uml kernel.."
-make linux ARCH=um SUBARCH=i386 >> $LOGFILE 2>&1
+make -j5 linux ARCH=um >> $LOGFILE 2>&1
cgecho "done"
cecho-n " * Copying uml kernel to '${BUILDDIR}/linux-uml-${KERNELVERSION}'.."