Skip to Content.
Sympa Menu

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

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 (cc3cfc9a02c12ec93c9e4994a12fc7f10af49402)
  • Date: Tue, 13 Jun 2006 19:55:14 -0500

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

usr/share/man/man5/grimoire.5 | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)

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

updated grimoire man page to reflect some of the security changes
required of POST_INSTALL to access files in the stage area

diff --git a/usr/share/man/man5/grimoire.5 b/usr/share/man/man5/grimoire.5
index e007db9..bd6b791 100644
--- a/usr/share/man/man5/grimoire.5
+++ b/usr/share/man/man5/grimoire.5
@@ -150,10 +150,15 @@ This step finishes off the install proce
and documentation, and finally turns off installwatch. If the spell is being
staged this step will also copy the files back to the system and stage config
files in a different location to be merged back to the system by the user.
-Also, if the spell is being staged the working directory for this step is the
-root of the staged area after the INSTALL step else the working directory is
-the system root. This allows packages to move/remove files before they are
-installed to the system.
+Also, if the spell is being staged the working directory for this step is
one
+directory above the root of the staged area after the INSTALL step else the
+working directory is the system root. To access files in the stage directory
+prefix the with the directory name 'TRANSL'. This provides a simple safety
+check so system files won't get wiped out. A second check against the
+enviromental variable STAGED_INSTALL is also highly recommended,
STAGED_INSTALL
+will be set to 'off' if the spell isn't going to be staged before
installing.
+This allows packages to move/remove files before they are installed to the
+system safely.
It is highly recommended to run
.I default_post_install
at the end of this file.



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

Archive powered by MHonArc 2.6.24.

Top of Page