From fe73bbecba9c91d3c4c89fe0bafebd301bf56835 Mon Sep 17 00:00:00 2001 From: rain Date: Mon, 22 Jun 2026 12:11:56 -0400 Subject: [PATCH] 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. --- run_once_00-install-bootstrap-tools.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_once_00-install-bootstrap-tools.sh.tmpl b/run_once_00-install-bootstrap-tools.sh.tmpl index 16bd91e..c58e728 100755 --- a/run_once_00-install-bootstrap-tools.sh.tmpl +++ b/run_once_00-install-bootstrap-tools.sh.tmpl @@ -29,7 +29,7 @@ log "apt-upgrade" sudo apt-get upgrade -y 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[@]}" {{ else -}}