Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (3bf3255ba4ef4368e34c277d49b20bcacf0aad5e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (3bf3255ba4ef4368e34c277d49b20bcacf0aad5e)
  • Date: Sat, 22 Jul 2023 01:26:21 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

utils/bubblewrap/BUILD | 5 ++---
utils/bubblewrap/CONFIGURE | 20 ++++++++++++++++++--
utils/bubblewrap/HISTORY | 3 +++
3 files changed, 23 insertions(+), 5 deletions(-)

New commits:
commit 3bf3255ba4ef4368e34c277d49b20bcacf0aad5e
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

utils/bubblewrap: refactored tests query and added
user namespaces requirement option

diff --git a/utils/bubblewrap/BUILD b/utils/bubblewrap/BUILD
index 68bd556..313419e 100755
--- a/utils/bubblewrap/BUILD
+++ b/utils/bubblewrap/BUILD
@@ -1,4 +1,3 @@
-if [[ $TESTS == 'n' ]]; then
-OPTS+=" tests=false"
-fi &&
+OPTS="${BUBBLEWRAP_OPTS} ${OPTS}" &&
+
default_build
diff --git a/utils/bubblewrap/CONFIGURE b/utils/bubblewrap/CONFIGURE
index 7bd24f1..52e9682 100755
--- a/utils/bubblewrap/CONFIGURE
+++ b/utils/bubblewrap/CONFIGURE
@@ -1,2 +1,18 @@
-. $GRIMOIRE/MESON_CONFIGURE &&
-config_query TESTS "Build tests?" y
+. "${GRIMOIRE}/MESON_CONFIGURE" &&
+
+if ! test -z ${TESTS}; then
+if [[ "${TESTS}" == "y" ]]; then
+ list_add BUBBLEWRAP_OPTS "tests=true"
+else
+ list_add BUBBLEWRAP_OPTS "tests=false"
+fi &&
+persistent_remove TESTS
+fi &&
+
+config_query_option BUBBLEWRAP_OPTS "Require user namespaces?" n \
+ "require_userns=true" \
+ "require_userns=false" &&
+
+config_query_option BUBBLEWRAP_OPTS "Enable tests?" n \
+ "tests=true" \
+ "tests=false"
diff --git a/utils/bubblewrap/HISTORY b/utils/bubblewrap/HISTORY
index 4f97062..37ba3b5 100644
--- a/utils/bubblewrap/HISTORY
+++ b/utils/bubblewrap/HISTORY
@@ -1,3 +1,6 @@
+2023-07-21 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, CONFIGURE: refactored TESTS query and added user namespaces
query
+
2023-02-28 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 0.8.0




  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (3bf3255ba4ef4368e34c277d49b20bcacf0aad5e), Pavel Vinogradov, 07/21/2023

Archive powered by MHonArc 2.6.24.

Top of Page