Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (fce4db731785605a03481b90edc53b12b394c74a)

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 test cauldron by Justin Boffemmyer (fce4db731785605a03481b90edc53b12b394c74a)
  • Date: Thu, 8 Jan 2009 19:31:04 -0600

GIT changes to test cauldron by Justin Boffemmyer <flux AT sourcemage.org>:

scripts/spellcaster.sh | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)

New commits:
commit fce4db731785605a03481b90edc53b12b394c74a
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

scripts/spellcaster.sh: don't use scribe, not auto

Scribe presents the ChangeLog in less, which then requires user input.
Automate the process by doing it manually instead of with scribe.

diff --git a/scripts/spellcaster.sh b/scripts/spellcaster.sh
index 53b8260..a8ece42 100755
--- a/scripts/spellcaster.sh
+++ b/scripts/spellcaster.sh
@@ -187,8 +187,21 @@ function prepare_target() {
if [[ -n $CAULDRON_CHROOT && $# -eq 0 ]]
then

- # Perform a scribe update so we have the latest stable
grimoire
- /usr/sbin/scribe update
+ SPOOL=/tmp
+ stable="stable.tar.bz2"
+ codex="$SYSDIR/var/lib/sorcery/codex"
+ grimoire='GRIMOIRE_DIR[0]=/var/lib/sorcery/codex/stable'
+ index="$SYSDIR/etc/sorcery/local/grimoire"
+
+ # update to latest stable grimoire
+ (
+ cd "$SPOOL"
+ wget http://download.sourcemage.org/codex/$stable
+ )
+ msg "Updating build grimoire"
+ [[ -d "$codex" ]] || mkdir -p $codex &&
+ tar jxf "$SPOOL"/$stable -C "$codex"/ &&
+ echo "$grimoire" > "$index"

# If console-tools is found in TARGET, get rid of it to make
# way for kbd




Archive powered by MHonArc 2.6.24.

Top of Page