Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel-flux cauldron by Justin Boffemmyer (2b64a42737a11eeeb114bfde524a15d5eb7b3f76)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Justin Boffemmyer <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to devel-flux cauldron by Justin Boffemmyer (2b64a42737a11eeeb114bfde524a15d5eb7b3f76)
  • Date: Mon, 14 Jan 2008 02:04:34 -0600

GIT changes to devel-flux cauldron by Justin Boffemmyer
<flux AT shaolin.homelinux.org>:

src/cauldron | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 2b64a42737a11eeeb114bfde524a15d5eb7b3f76
Author: Justin Boffemmyer <flux AT shaolin.homelinux.org>
Commit: Justin Boffemmyer <flux AT shaolin.homelinux.org>

cauldron: fixed SPELL_CACHE for EXTENSION

Added code to retrieve the EXTENSION as defined in
/etc/sorcery/local/config for the spell cache files.

diff --git a/src/cauldron b/src/cauldron
index adf3dec..fdcaabd 100644
--- a/src/cauldron
+++ b/src/cauldron
@@ -66,10 +66,13 @@ function cauldron_create_base_toolchain() {
local VERSION
local SPELL_CACHE
local HOST_TRIPLE
+ local CACHE_EXTENSION

# set the value for HOST_TRIPLE
cauldron_get_host_triple
HOST_TRIPLE="$?"
+ CACHE_EXTENSION=$(grep "EXTENSION=" $HOST_SORCERY_CONFIG | \
+ cut -d = -f 2)

# grab the list of spells needed as the base tool-chain which will be
# used to create the cross-compile tool-chain
@@ -80,7 +83,7 @@ function cauldron_create_base_toolchain() {
VERSION=$(grep "^${SPELL}" ${HOST_PACKAGES} | cut -d : -f 4)

# set SPELL_CACHE as shorthand for SPELL-VERSION-HOST_TRIPLE.tar.bz2
- SPELL_CACHE="${SPELL}-${VERSION}-${HOST_TRIPLE}.tar.bz2"
+ SPELL_CACHE="${SPELL}-${VERSION}-${HOST_TRIPLE}.tar${CACHE_EXTENSION}"

# check to see if there is already a cache file from sorcery
# this check could be based on spell-{names,versions} reported by



  • [SM-Commit] GIT changes to devel-flux cauldron by Justin Boffemmyer (2b64a42737a11eeeb114bfde524a15d5eb7b3f76), Justin Boffemmyer, 01/14/2008

Archive powered by MHonArc 2.6.24.

Top of Page