Fix module unpacking and make it actually optional.
authorChris Gianelloni <wolf31o2@gentoo.org>
Mon, 10 Oct 2005 19:05:24 +0000 (19:05 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Mon, 10 Oct 2005 19:05:24 +0000 (19:05 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@853 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/functions.sh

index 9ba4ae173b239ddcc8bed12ca90af94f8c0b2eed..afa33cd7587f557cd097a8a0d31628a729b60ade 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.345 2005/10/10 19:02:48 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.346 2005/10/10 19:05:24 wolf31o2 Exp $
+
+  10 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/support/functions.sh:
+  Fix module unpacking and make it actually optional.
 
   10 Oct 2005; Eric Edgar <rocket@gentoo.org>
   modules/generic_stage_target.py:
index cdc4c39ae1993a55bfb8de46317099b9ca5deca8..ca412b5c4d362acff29a350ee7dc84d6997e1434 100755 (executable)
@@ -129,7 +129,7 @@ extract_modules() {
        #$2 = kname     
        kmodules="${clst_chroot_path}/usr/portage/packages/gk_binaries/${2}-modules-${clst_version_stamp}.tar.bz2"
                
-       if [ ! -e "${kmodules}" ]
+       if [ -f "${kmodules}" ]
        then
            mkdir -p ${1}/
            tar xjf ${kmodules} -C ${1} lib