kali: 修复新版 initrd 删除了原版 wget 导致安装报错

partial-fixed #91
This commit is contained in:
bin456789
2024-06-03 20:58:02 +08:00
parent 115b8c4e56
commit bcfd36214b
2 changed files with 8 additions and 2 deletions

View File

@ -2193,6 +2193,12 @@ EOF
# 在 debian installer 中判断能否用云内核
create_can_use_cloud_kernel_sh can_use_cloud_kernel.sh
# 最近 kali initrd 删除了原版 wget
# 但 initrd 的 busybox wget 又不支持 https
# 因此改成在这里下载
curl -LO "$confhome/get-xda.sh"
curl -LO "$confhome/ttys.sh"
# 可以节省一点内存?
echo 'export DEBCONF_DROP_TRANSLATIONS=1' |
insert_into_file lib/debian-installer/menu before 'exec debconf'