File tree Expand file tree Collapse file tree 3 files changed +15
-18
lines changed Expand file tree Collapse file tree 3 files changed +15
-18
lines changed Original file line number Diff line number Diff line change @@ -54,22 +54,7 @@ for cmd in screen proot-distro; do
54
54
command -v " $cmd " > /dev/null 2>&1 || pkg install -y " $cmd "
55
55
done
56
56
log " INFO" " 安装debian容器..."
57
- proot-distro install debian --override-alias NC --tarball-url
57
+ export PD_OVERRIDE_TARBALL_URL=" https://gitee.com/Dong-Jing-Yu/Dong-Jing-Yu.github.io/raw/main/Termux/proot-distro/debian-bookworm-aarch64-pd-v4.17.3.tar.xz"
58
+ proot-distro install debian --override-alias nc
58
59
log " INFO" " 安装完成!"
59
- mv " $PREFIX /etc/apt/sources.list.bak" " $PREFIX /etc/apt/sources.list"
60
-
61
- cmdline=" proot \\
62
- --link2symlink \\
63
- -0 \\
64
- -r $CHROOT \\
65
- -b /dev \\
66
- -b /proc \\
67
- -b /sdcard \\
68
- -b $CHROOT \$ home:/dev/shm \\
69
- -w \$ home \\
70
- /usr/bin/env -i \\
71
- HOME=\$ home \\
72
- PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin \\
73
- TERM=\$ TERM \\
74
- LANG=C.UTF-8 \\
75
- \$ start"
60
+ mv " $PREFIX /etc/apt/sources.list.bak" " $PREFIX /etc/apt/sources.list"
Original file line number Diff line number Diff line change
1
+ 注意本文件夹下的文件可能有所修改,官方文件请点击\
2
+ [ proot-distro] ( https://github.com/termux/proot-distro )
3
+
4
+ ## debian-bookworm-aarch64-pd-v4.17.3.tar.xz
5
+
6
+ ### 2025/7/31
7
+ 修改了` /etc/apt/sources.list `
8
+ ```
9
+ deb [signed-by="/usr/share/keyrings/debian-archive-keyring.gpg"] http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib
10
+ deb [signed-by="/usr/share/keyrings/debian-archive-keyring.gpg"] http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib
11
+ deb [signed-by="/usr/share/keyrings/debian-archive-keyring.gpg"] http://security.debian.org/debian-security bookworm-security main contrib
12
+ ```
You can’t perform that action at this time.
0 commit comments