aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-06-16 16:58:22 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-06-16 16:58:22 +0100
commite122ee9d7ad7fbb4a14db0391073c158e95992e7 (patch)
tree9f3a6fbea71f9c760e9c869b888f8411b51a0778
parentAdded flags and cachedkernel option (diff)
downloadgentoaster-e122ee9d7ad7fbb4a14db0391073c158e95992e7.tar.gz
gentoaster-e122ee9d7ad7fbb4a14db0391073c158e95992e7.tar.bz2
gentoaster-e122ee9d7ad7fbb4a14db0391073c158e95992e7.zip
Fix minimal config and incorrect cachedkernel logic
-rw-r--r--configs/minimal.ini2
-rwxr-xr-xcreate_image.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/minimal.ini b/configs/minimal.ini
index 92c2924..458d113 100644
--- a/configs/minimal.ini
+++ b/configs/minimal.ini
@@ -8,7 +8,7 @@ TIMEZONE='Europe/London'
HOSTNAME='gentoo'
ROOT_PASSWORD='g3nt00'
DEFAULT_USERNAME='gentoo'
-DEEFAULT_PASSWORD='g3nt00'
+DEFAULT_PASSWORD='g3nt00'
USE_FLAGS=''
PACKAGE_USE=''
FEATURES='parallel-fetch userfetch userpriv getbinpkg'
diff --git a/create_image.sh b/create_image.sh
index d56d36f..03466b1 100755
--- a/create_image.sh
+++ b/create_image.sh
@@ -190,7 +190,7 @@ cp etc/init.d/net.lo etc/init.d/net.eth0
linux32 chroot . rc-update add net.eth0 default &>> ${LOG_FILE}
# If we got the flag, used a cached kernel to reduce build times for testing
-if [ ${FLAGS_cachedkernel} ]; then
+if [[ ${FLAGS_cachedkernel} = ${FLAGS_true} ]]; then
echo "Using cached kernel"
cp ${TOOL_RES_PATH}/bzImage boot/kernel
cp -R ${TOOL_RES_PATH}/kernelmodules/* lib/modules/