commit f83b6fc

chld  ·  2025-12-20 17:24:45 +0000 UTC
parent 9887e9f
util/lib.sh + setup-rootfs
2 files changed,  +11, -1
+6, -1
 1@@ -1,6 +1,8 @@
 2-#!/bin/sh
 3+#!/bin/sh -eu
 4+. util/lib.sh # source functions
 5 
 6 echo 'WARNING: assuming you have rootf mounted @ /mnt'
 7+set -x
 8 
 9 wget \
10 	https://codeberg.org/kiss-community/repo/releases/download/24.12.18/kiss-chroot-24.12.18.tar.xz \
11@@ -8,3 +10,6 @@ wget \
12 
13 tar -xf kiss.tar.xz -C /mnt
14 sh util/kiss-mount /mnt
15+
16+_inc '
17+
+5, -0
1@@ -0,0 +1,5 @@
2+#!/bin/sh
3+
4+_inch() {
5+    chroot "$TARGET" /bin/sh -e -c "$*"
6+}