1
0
Fork 0

Add libssl-dev pkg-config to debian bootstrap-tools

Many Rust crates (cargo-update, anything depending on openssl-sys)
need libssl-dev + pkg-config at build time. Without these,
`cargo install cargo-update` fails on debian with:

  Could not find openssl via pkg-config
  The system library `openssl` required by crate `openssl-sys`
  was not found.

Add them to APT_PKGS in run_once_00-install-bootstrap-tools.sh.tmpl
so new debian boxes have them from the start. Existing Pis
(rye, crouton) need a one-time `sudo apt-get install -y libssl-dev
pkg-config` after pulling this commit.
This commit is contained in:
Rain 2026-06-22 12:11:56 -04:00
parent f4a0b59b7e
commit fe73bbecba

View file

@ -29,7 +29,7 @@ log "apt-upgrade"
sudo apt-get upgrade -y sudo apt-get upgrade -y
log "install base tools (debian)" log "install base tools (debian)"
APT_PKGS=(age curl ca-certificates git wget gnupg) APT_PKGS=(age curl ca-certificates git wget gnupg libssl-dev pkg-config)
sudo apt-get install -y --no-install-recommends "${APT_PKGS[@]}" sudo apt-get install -y --no-install-recommends "${APT_PKGS[@]}"
{{ else -}} {{ else -}}