From 12d52e1b1505d415e448193fd1b16c59b6219c23 Mon Sep 17 00:00:00 2001 From: Liam McLoughlin Date: Thu, 11 Aug 2011 21:25:50 +0100 Subject: If the kernel config is out of date, try to use defaults to stop the build from failing --- create_image.sh | 1 + 1 file changed, 1 insertion(+) 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} -- cgit v1.2.3-65-gdbad