aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Edgar <rocket@gentoo.org>2005-07-25 13:52:14 +0000
committerEric Edgar <rocket@gentoo.org>2005-07-25 13:52:14 +0000
commit8e4e996198ec34b010de01817b959477e5665d81 (patch)
tree57fe51809b649746d25f0ad602853af822b4a223 /gen_determineargs.sh
parentRemove extra checks that fail (diff)
downloadgenkernel-8e4e996198ec34b010de01817b959477e5665d81.tar.gz
genkernel-8e4e996198ec34b010de01817b959477e5665d81.tar.bz2
genkernel-8e4e996198ec34b010de01817b959477e5665d81.zip
Add kernelz- to minkernpackage and kerncache
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@279 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_determineargs.sh')
-rw-r--r--gen_determineargs.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index 32f916ce..102a6c9a 100644
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -3,6 +3,10 @@
get_KV() {
if [ "${CMD_NO_KERNEL_SOURCES}" = '1' -a -e "${CMD_KERNCACHE}" ]
then
+ #[ -d ${TEMP} ] && gen_die "temporary directory already exists! Exiting."
+ #(umask 077 && mkdir ${TEMP}) || {
+ # gen_die "Could not create temporary directory! Exiting."
+ #}
/bin/tar -xj -C ${TEMP} -f ${CMD_KERNCACHE} kerncache.config
if [ -e ${TEMP}/kerncache.config ]
then
@@ -21,8 +25,10 @@ get_KV() {
fi
else
+ #rm -r ${TEMP}
gen_die "Could not find kerncache.config in the kernel cache! Exiting."
fi
+ #rm -r ${TEMP}
else
# Configure the kernel