From: Chris Gianelloni Date: Mon, 10 Oct 2005 19:05:24 +0000 (+0000) Subject: Fix module unpacking and make it actually optional. X-Git-Tag: CATALYST_2_0_6_916~641 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3e04520e40a554adc077e0e18e62a68aa219eab1;p=catalyst.git Fix module unpacking and make it actually optional. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@853 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index 9ba4ae17..afa33cd7 100644 --- 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 + targets/support/functions.sh: + Fix module unpacking and make it actually optional. 10 Oct 2005; Eric Edgar modules/generic_stage_target.py: diff --git a/targets/support/functions.sh b/targets/support/functions.sh index cdc4c39a..ca412b5c 100755 --- a/targets/support/functions.sh +++ b/targets/support/functions.sh @@ -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