commit 3a35942

chld  ·  2025-12-20 19:27:38 +0000 UTC
parent d91b2f4
testing
3 files changed,  +6, -5
+2, -1
 1@@ -1,5 +1,5 @@
 2 #!/bin/sh -e
 3-. util/lib.sh
 4+. ./util/lib.sh
 5 
 6 set -x
 7 
 8@@ -22,5 +22,6 @@ wget \
 9 	https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.6/x86_64/apk.static \
10 	-O /mnt/bin/apk # static apk ez
11 
12+chmod 755 /mnt/bin/apk # executable apk
13 /mnt/bin/apk --arch $(arch) -X https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/ -U --allow-untrusted --root /mnt/ --initdb update
14 /mnt/bin/apk --root /mnt add alpine-keys
+3, -3
 1@@ -4,9 +4,9 @@
 2 echo 'WARNING: assuming you have rootf mounted @ /mnt'
 3 set -x
 4 
 5-wget \
 6-	https://codeberg.org/kiss-community/repo/releases/download/24.12.18/kiss-chroot-24.12.18.tar.xz \
 7-	-O kiss.tar.xz
 8+#wget \
 9+#	https://codeberg.org/kiss-community/repo/releases/download/24.12.18/kiss-chroot-24.12.18.tar.xz \
10+#	-O kiss.tar.xz
11 
12 tar -xf kiss.tar.xz -C /mnt
13 
+1, -1
1@@ -1,5 +1,5 @@
2 #!/bin/sh
3 
4-_inch() {
5+_inc() {
6     chroot /mnt /bin/sh -e -c "$*"
7 }