commit cc3fc8f
chld
·
2025-12-20 19:35:29 +0000 UTC
parent 0f312a4
testing
2 files changed,
+9,
-2
+2,
-0
1@@ -0,0 +1,2 @@
2+https://dl-cdn.alpinelinux.org/alpine/latest-stable/main
3+https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
+7,
-2
1@@ -26,6 +26,11 @@ wget \
2
3 chmod 755 /mnt/bin/apk # executable apk
4 /mnt/bin/apk --arch $(arch) -X https://dl-cdn.alpinelinux.org/alpine/latest-stable/main/ -U --allow-untrusted --root /mnt/ --initdb add alpine-keys
5-# add apk repositories
6
7-/mnt/bin/apk --root /mnt add alpine-keys
8+# add apk repositories
9+mkdir -p /mnt/etc/
10+mkdir -p /mnt/etc/apk
11+cp ./rootfs/repositories /mnt/etc/apk/repositories
12+# sync repositories
13+/mnt/bin/apk --root /mnt --allow-untrusted update
14+/mnt/bin/apk --root /mnt add alpine-keys