linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
commit b02eb23611b0bb5c5864ae7aff0d968c8c75af73 parent f93a31639620a4e6f1157d55ecfe6339c8258961 Author: Jul <jul@9o.is> Date: Wed, 30 Jul 2025 01:31:25 -0400 exec programs with nopen instead of spawn Diffstat:
| M | pkg/noice/build | | | 10 | ++++++++++ |
| A | pkg/noice/patches/0001-exec-file-instead.patch | | | 25 | +++++++++++++++++++++++++ |
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/pkg/noice/build b/pkg/noice/build @@ -1,8 +1,18 @@ #!/bin/sh set -euo pipefail +gitref="bfe589ac" repodir="$srcdir/repo" +if [ "$skip_clean" != "true" ]; then + git -C "$repodir" clean -dx + git -C "$repodir" reset --hard "$gitref" + + for patch in $srcdir/patches/*.patch; do + git -C "$repodir" am --no-gpg-sign "$patch" + done +fi + rm -rf "$outdir" cp "$srcdir/noiceconf.h" "$repodir" cp "$srcdir/nopenconf.h" "$repodir" diff --git a/pkg/noice/patches/0001-exec-file-instead.patch b/pkg/noice/patches/0001-exec-file-instead.patch @@ -0,0 +1,25 @@ +From 9b72571f85a19521b24a06a284063e6d6a00192c Mon Sep 17 00:00:00 2001 +From: Jul <jul@qh.is> +Date: Wed, 30 Jul 2025 01:18:08 -0400 +Subject: [PATCH] exec file instead + +--- + nopen.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/nopen.c b/nopen.c +index 96cc2ab..5cd7d7d 100644 +--- a/nopen.c ++++ b/nopen.c +@@ -36,7 +36,7 @@ run(struct rule *rule, char *arg) + argv[i] = rule->argv[i]; + } + argv[i] = NULL; +- return spawnvp(NULL, rule->file, argv); ++ return execvp(rule->file, argv); + } + + struct rule * +-- +2.50.1 +