commit 48c77af

hovercats  ·  2025-01-01 22:35:50 +0000 UTC
parent 02b7f49
kiss: add patch to fix kiss-chroot erroring out when /usr/bin/env doesnt exist
3 files changed,  +27, -1
+1, -0
1@@ -43,6 +43,7 @@
2 [submodule "pkg/kiss/src"]
3 	path = pkg/kiss/src
4 	url = https://codeberg.org/kiss-community/kiss
5+	ignore = all
6 [submodule "pkg/iproute2/src"]
7 	path = pkg/iproute2/src
8 	url = https://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git
+25, -0
 1@@ -0,0 +1,25 @@
 2+From 0fcceeee325dd42a867bedad5eefc0d60640d64d Mon Sep 17 00:00:00 2001
 3+From: hovercats <hovercatswithlasereyes@protonmail.com>
 4+Date: Wed, 1 Jan 2025 23:31:00 +0100
 5+Subject: [PATCH] kiss-chroot: correct path to /bin/env
 6+
 7+---
 8+ contrib/kiss-chroot | 2 +-
 9+ 1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+diff --git a/contrib/kiss-chroot b/contrib/kiss-chroot
12+index f82ab2e..cfc1921 100755
13+--- a/contrib/kiss-chroot
14++++ b/contrib/kiss-chroot
15+@@ -78,7 +78,7 @@ main() {
16+     log Entering chroot; {
17+         _ret=1
18+ 
19+-        run chroot "$1" /usr/bin/env -i \
20++        run chroot "$1" /bin/env -i \
21+             HOME=/root \
22+             TERM="$TERM" \
23+             SHELL=/bin/sh \
24+-- 
25+2.45.1
26+
+1, -1
1@@ -1 +1 @@
2-6.2.0 r0
3+6.2.0 r1