Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (c6c585964712aeeac97953c0c0530b8988b0af2e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (c6c585964712aeeac97953c0c0530b8988b0af2e)
  • Date: Wed, 22 Apr 2015 04:01:55 -0500

GIT changes to master z-rejected grimoire by Vlad Glagolev
<stealth AT sourcemage.org>:

ChangeLog | 3 ++-
FUNCTIONS | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit c6c585964712aeeac97953c0c0530b8988b0af2e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

do not force noexec option in check_tmp_noexec()

diff --git a/ChangeLog b/ChangeLog
index 62e1d83..75649e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2015-04-22 Vlad Glagolev <stealth AT sourcemage.org>
- * FUNCTIONS: fixed check_tmp_noexec for tmp-less systems
+ * FUNCTIONS: fixed check_tmp_noexec for tmp-less systems, do not force
+ noexec option

2015-03-26 Vlad Glagolev <stealth AT sourcemage.org>
* FUNCTIONS: backported check_tmp_noexec() from the test grimoire;
moved
diff --git a/FUNCTIONS b/FUNCTIONS
index 7d7ea56..7d9cf1a 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -660,7 +660,7 @@ function check_tmp_noexec() {
message -n "${MESSAGE_COLOR}Remounting $1 with exec option (required for
build)... " &&
mount -o exec,remount $1 &&
message "done${DEFAULT_COLOR}"
- else
+ elif awk -v tmp=$1 '{ if ($2 == tmp) print $4 }' < /etc/fstab | grep -q
noexec; then
message -n "${MESSAGE_COLOR}Restoring $1 mount options... " &&
mount -o noexec,remount $1 &&
message "done${DEFAULT_COLOR}"



  • [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (c6c585964712aeeac97953c0c0530b8988b0af2e), Vlad Glagolev, 04/22/2015

Archive powered by MHonArc 2.6.24.

Top of Page