From 75d1ebe42f3456d9dfea84bdc1570aebfd6b8917 Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Thu, 25 Jun 2026 19:18:31 -0700 Subject: [PATCH 1/4] Add dev packages support to Debian bootstrap Introduce debian/install-dev-packages to install compilers, build tools, and languages (including dotnet-sdk-8.0, golang, and default-jdk). Update debian/bootstrap to prompt for development tools, matching the Ubuntu bootstrap setup. --- debian/bootstrap | 8 +++++++ debian/install-dev-packages | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100755 debian/install-dev-packages diff --git a/debian/bootstrap b/debian/bootstrap index 964895e..3810f40 100755 --- a/debian/bootstrap +++ b/debian/bootstrap @@ -19,6 +19,14 @@ source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/m # Install packages source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/debian/install-packages) +# Dev packages +printf "Install development tools? " +read -r REPLY Date: Thu, 25 Jun 2026 19:21:45 -0700 Subject: [PATCH 2/4] Add just, mise, and dotnet-sdk-10.0 support Add just and mise to the Debian development packages list. Register the official mise package repository, configure its GPG key, and add mise activation hooks for bash/zsh shell configurations. Also, update the .NET SDK version to 10.0. --- debian/install-dev-packages | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/debian/install-dev-packages b/debian/install-dev-packages index b261a03..4eb993f 100755 --- a/debian/install-dev-packages +++ b/debian/install-dev-packages @@ -17,6 +17,15 @@ else echo "WARNING: Failed to download Microsoft repository package from $MS_URL" fi +# Register mise package repository +echo "Registering mise package repository..." +sudo install -dm 755 /etc/apt/keyrings +if curl -fSs https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/mise-archive-keyring.gpg > /dev/null; then + echo "deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=$(dpkg --print-architecture)] https://mise.jdx.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/mise.list > /dev/null +else + echo "WARNING: Failed to register mise package repository" +fi + sudo apt-get update # Install dev packages @@ -29,16 +38,18 @@ checkinstall \ cmake \ default-jdk \ dialog \ -dotnet-sdk-8.0 \ +dotnet-sdk-10.0 \ flex \ golang \ hugo \ jq \ +just \ libcurl4-openssl-dev \ libssl-dev \ libtool \ make \ mercurial \ +mise \ pylint \ python-is-python3 \ python3-autopep8 \ @@ -46,3 +57,13 @@ python3-pip \ twine \ universal-ctags \ zlib1g-dev + +# Activate mise for bash and zsh configurations +echo "Adding mise activation hooks to shell configurations..." +if [ -f "$HOME/.bashrc" ] && ! grep -q "mise activate bash" "$HOME/.bashrc"; then + printf '\n# Activate mise version manager\neval "$(mise activate bash)"\n' >> "$HOME/.bashrc" +fi + +if [ -f "$HOME/.zshrc" ] && ! grep -q "mise activate zsh" "$HOME/.zshrc"; then + printf '\n# Activate mise version manager\neval "$(mise activate zsh)"\n' >> "$HOME/.zshrc" +fi From 5672726fb38fd651104b449c6e3d7211096da1bf Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Thu, 25 Jun 2026 19:48:29 -0700 Subject: [PATCH 3/4] Add pandoc to Debian dev packages Add pandoc to the debian/install-dev-packages installer script. This ensures consistency with the Ubuntu development tools package list where pandoc is included. --- debian/install-dev-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/install-dev-packages b/debian/install-dev-packages index 4eb993f..b05f594 100755 --- a/debian/install-dev-packages +++ b/debian/install-dev-packages @@ -50,6 +50,7 @@ libtool \ make \ mercurial \ mise \ +pandoc \ pylint \ python-is-python3 \ python3-autopep8 \ From 8a2108041d69cb63b5a624da92e7523a08fe8f32 Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Thu, 25 Jun 2026 20:00:01 -0700 Subject: [PATCH 4/4] Update Debian test runner for dev packages Update the Debian Docker test runner to execute the new dev packages script and verify the installation of development packages (including dotnet, mise, just, and pandoc). --- test/docker/run-tests-debian.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/docker/run-tests-debian.sh b/test/docker/run-tests-debian.sh index 9764c17..0dcfb19 100644 --- a/test/docker/run-tests-debian.sh +++ b/test/docker/run-tests-debian.sh @@ -7,6 +7,9 @@ cd /home/testuser/linux-bootstrap echo "Testing Debian package installation..." bash debian/install-packages +echo "Testing Debian dev package installation..." +bash debian/install-dev-packages + echo "" echo "Verifying packages are installed..." PACKAGES=( @@ -43,6 +46,14 @@ PACKAGES=( zoxide zsh zsh-doc + build-essential + cmake + default-jdk + dotnet-sdk-10.0 + golang + just + mise + pandoc ) MISSING=()