[SM-Commit] GIT changes to devel-andrew cauldron by Andrew Stitt (453097fa531ad11125db3fb65f40a3e2911bf52f)

Andrew Stitt scm at sourcemage.org
Sun Dec 7 14:31:15 EST 2008


GIT changes to devel-andrew cauldron by Andrew Stitt <acedit at armory.com>:

Rebased ref, commits from common ancestor:
commit 453097fa531ad11125db3fb65f40a3e2911bf52f
Author: Andrew Stitt <acedit at armory.com>
Commit: Andrew Stitt <acedit at armory.com>

    scripts/twelve-step-program.sh: new script
    
    Script is based on twelve step recipe in
    http://wiki.sourcemage.org/Cauldron/ISO_Generation_Steps
    currently the script does not execute to completion successfully

diff --git a/scripts/spellcaster.sh b/scripts/spellcaster.sh
index dda6c18..b55f2b3 100755
--- a/scripts/spellcaster.sh
+++ b/scripts/spellcaster.sh
@@ -112,9 +112,10 @@ then
 fi
 
 # Copy necessary files to the target and chroot
-$(grep -q linux "$CAULDRONDIR/{$rspells,$ospells}") && cp "$CAULDRONDIR/config.$TYPE" "$TARGET/etc/sorcery/local/kernel.config"
+$(grep -q linux "$CAULDRONDIR/$rspells" "$CAULDRONDIR/$ospells") && cp "$CAULDRONDIR/config.$TYPE" "$TARGET/etc/sorcery/local/kernel.config"
 [[ CAULDRON_CAST = y ]] && cp "$CAULDRONDIR/$rspells" "$TARGET"/
 cp "$CAULDRONDIR/$ospells" "$TARGET"/
+cp "$0" "$TARGET"/
 "$MYDIR/cauldronchr.sh" -d "$TARGET" /"$(basename $0)"
 
 # Clean up the target



More information about the SM-Commit mailing list