aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2006-07-11 11:33:09 +0000
committerTim Yamin <plasmaroo@gentoo.org>2006-07-11 11:33:09 +0000
commit2376b1874252d365f913fcf369c9d63f85497275 (patch)
treec096244ea97d3f3d6ad11c47aa72bce2e3f9fb25 /gen_determineargs.sh
parentTweak the sgimips section for rootfs mounting to use squashfs instead of ext2. (diff)
downloadgenkernel-2376b1874252d365f913fcf369c9d63f85497275.tar.gz
genkernel-2376b1874252d365f913fcf369c9d63f85497275.tar.bz2
genkernel-2376b1874252d365f913fcf369c9d63f85497275.zip
Commit patch for bug #139866 by Martin Parm.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@417 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_determineargs.sh')
-rw-r--r--gen_determineargs.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index 93e5babe..11e94d6e 100644
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -177,6 +177,14 @@ determine_real_args() {
UTILS_CROSS_COMPILE="${CMD_UTILS_CROSS_COMPILE}"
fi
+ if [ "${BOOTDIR}" != '' ]
+ then
+ BOOTDIR=`arch_replace "${BOOTDIR}"`
+ BOOTDIR=${BOOTDIR%/} # Remove any trailing slash
+ else
+ BOOTDIR="/boot"
+ fi
+
CACHE_DIR=`arch_replace "${CACHE_DIR}"`
CACHE_CPIO_DIR="${CACHE_DIR}/cpio"
BUSYBOX_BINCACHE=`cache_replace "${BUSYBOX_BINCACHE}"`