aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-08-11 21:25:50 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-08-11 21:25:50 +0100
commit12d52e1b1505d415e448193fd1b16c59b6219c23 (patch)
treec948b1b5aae78f840892d091819a3888d728cabc
parentAdded basic installer script and updated README appropriately (diff)
downloadgentoaster-12d52e1b1505d415e448193fd1b16c59b6219c23.tar.gz
gentoaster-12d52e1b1505d415e448193fd1b16c59b6219c23.tar.bz2
gentoaster-12d52e1b1505d415e448193fd1b16c59b6219c23.zip
If the kernel config is out of date, try to use defaults to stop the build from failing
-rwxr-xr-xcreate_image.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/create_image.sh b/create_image.sh
index 3858dac..f83c1e3 100755
--- a/create_image.sh
+++ b/create_image.sh
@@ -232,6 +232,7 @@ else
cp ${TOOL_RES_PATH}/kernelconfig usr/src/linux/.config || handle_error "Error copying kernel config"
echo "Building kernel" &>> ${LOG_FILE}
+ yes "" | linux32 chroot . make -C /usr/src/linux oldconfig &>> ${LOG_FILE} || handle_error "Error configuring kernel"
linux32 chroot . make -C /usr/src/linux -j${NUM_JOBS} &>> ${LOG_FILE} || handle_error "Error building kernel"
echo "Installing kernel" &>> ${LOG_FILE}