Skip to Content.
Sympa Menu

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

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 (9ad11fdbb21997c1b430f47c5a85d2f4c1eea0cb)
  • Date: Fri, 21 Nov 2008 10:39:38 -0600

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

scripts/cauldronchr.sh | 1 +
1 files changed, 1 insertion(+)

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

scripts/cauldronchr.sh: chroot PS1 facelift

PS1 inside of the chroot set up by cauldronchr.sh now expresses that the
user is inside of a chroot, hopefully preventing confusion/mistakes
(though of course it is still the user's responsibility to know whether
they are in a chroot or their main system).

diff --git a/scripts/cauldronchr.sh b/scripts/cauldronchr.sh
index a0e1c78..7db5dd3 100755
--- a/scripts/cauldronchr.sh
+++ b/scripts/cauldronchr.sh
@@ -63,6 +63,7 @@ mount --bind /dev/pts "$CHROOT_DIR"/dev/pts
mount --bind /proc "$CHROOT_DIR"/proc

export CAULDRON_CHROOT="$CHROOT_DIR"
+export PS1="[chroot]\u \w$"

chroot "$CHROOT_DIR" $CHROOT_CMD




  • [SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (9ad11fdbb21997c1b430f47c5a85d2f4c1eea0cb), Justin Boffemmyer, 11/21/2008

Archive powered by MHonArc 2.6.24.

Top of Page