[SM-Commit] GIT changes to master sorcery by David Brown (f2eae56c33ec6e8254f3e3e317c204876f8aa45d)

David Brown scm at mail.sourcemage.org
Sat Mar 3 00:16:54 EST 2007


GIT changes to master sorcery by David Brown <dmlb2000 at gmail.com>:

 ChangeLog                              |    4 ++++
 var/lib/sorcery/modules/build_api/api2 |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit f2eae56c33ec6e8254f3e3e317c204876f8aa45d
Author: David Brown <dmlb2000 at gmail.com>
Commit: David Brown <dmlb2000 at gmail.com>

    put a check to make sure castfs is there before running sanity check

diff --git a/ChangeLog b/ChangeLog
index 57c7290..ab67058 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-02 David Brown <dmlb2000 at gmail.com>
+	* build_api/api2: check to make sure castfs is there before running
+	sanity
+
 2007-02-28 David Brown <dmlb2000 at gmail.com>
 	* dl_handler/dl_git: fixed to use $target and move to the appropriate
 	$target location
diff --git a/var/lib/sorcery/modules/build_api/api2 b/var/lib/sorcery/modules/build_api/api2
index 70baf47..2fcbef1 100755
--- a/var/lib/sorcery/modules/build_api/api2
+++ b/var/lib/sorcery/modules/build_api/api2
@@ -65,7 +65,7 @@ function run_build_spell() {
     fi
   fi
 
-  if ! run_castfs_sanity
+  if [[ $STAGED_INSTALL == on ]] && ! run_castfs_sanity
   then
     message "${PROBLEM_COLOR}CastFS failed sanity check turning off${DEFAULT_COLOR}"
     export STAGED_INSTALL=off



More information about the SM-Commit mailing list