Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to devel-stage-root sorcery by David Brown (ae3be0cd26b3d9c78e6ed03692cd89f54e746463)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Brown <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to devel-stage-root sorcery by David Brown (ae3be0cd26b3d9c78e6ed03692cd89f54e746463)
  • Date: Sat, 10 Jun 2006 23:43:54 -0500

GIT changes to devel-stage-root sorcery by David Brown <dmlb2000 AT gmail.com>:

usr/sbin/delve | 4 ++++
var/lib/sorcery/modules/libtrack | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit ae3be0cd26b3d9c78e6ed03692cd89f54e746463
Author: David Brown <dmlb2000 AT gmail.com>
Commit: David Brown <dmlb2000 AT gmail.com>

this is kinda a hack but we can't remove the stage directory or
installwatch will break on any system call when cast calls delve the stage
root will already be created so we don't want to call mk_source_dir or it
will break installwatch

commit cc77953650b0d8aa6dbd50f59eb87dfd3a75e2de
Author: David Brown <dmlb2000 AT gmail.com>
Commit: David Brown <dmlb2000 AT gmail.com>

updated libtrack to make the MINOR_VER var local in
installwatch_is_stageable

diff --git a/usr/sbin/delve b/usr/sbin/delve
index 8b3112c..a121c3a 100755
--- a/usr/sbin/delve
+++ b/usr/sbin/delve
@@ -157,6 +157,10 @@ function delve_install() {
delve_is_valid_step BUILD 2 || return 1
delve_log_helper
invoke_installwatch &&
+ if [[ ! -d $STAGE_DIRECTORY ]]
+ then
+ prepare_stage_root
+ fi
if [[ "$STAGED_INSTALL" != "off" ]]
then
invoke_stage_root
diff --git a/var/lib/sorcery/modules/libtrack
b/var/lib/sorcery/modules/libtrack
index 8c8fd10..4abb797 100755
--- a/var/lib/sorcery/modules/libtrack
+++ b/var/lib/sorcery/modules/libtrack
@@ -122,7 +122,7 @@ function real_devoke_installwatch() {

function installwatch_is_stageable()
{
- MINOR_VER="`installed_version installwatch | cut -d. -f2`"
+ local MINOR_VER="`installed_version installwatch | cut -d. -f2`"
if [[ $MINOR_VER == 7 ]]
then
return 0



  • [SM-Commit] GIT changes to devel-stage-root sorcery by David Brown (ae3be0cd26b3d9c78e6ed03692cd89f54e746463), David Brown, 06/11/2006

Archive powered by MHonArc 2.6.24.

Top of Page