chore: add build runner CAP_SETFCAP check, fix MicroTeX compilation, and fix mono cert-sync
This commit is contained in:
@@ -743,6 +743,13 @@ install_pacstrap() {
|
||||
pacstrap "$TARGET" "${pkgs[@]}" --noconfirm \
|
||||
|| die "pacstrap failed - the target system is incomplete (output above, full log: $LOG)."
|
||||
|
||||
# mono's post_install runs cert-sync before the post-transaction hook has
|
||||
# generated ca-certificates.crt, leaving mono's certificate store empty.
|
||||
if [[ -x "${TARGET}/usr/bin/cert-sync" ]]; then
|
||||
arch-chroot "$TARGET" cert-sync --quiet /etc/ssl/certs/ca-certificates.crt \
|
||||
>> "$LOG" 2>&1 || warn "cert-sync failed - mono apps may reject TLS certificates."
|
||||
fi
|
||||
|
||||
ok "Packages installed."
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user