Bootstrap et update sans droits sudo #4

Merged
xavier merged 2 commits from fix/bootstrap-without-sudo into dev 2026-11-11 22:18:10 +01:00
2 Commits
Author SHA1 Message Date
xavierandClaude Opus 5.5 05b9748a48 fix(chezmoi): Address review comments
- update: rename APT to COMMAND_APT
- mise bootstrap is generic (not only apt): fix comments and warning

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:15:40 +01:00
xavierandClaude Opus 5.5 e7d9189de4 fix(chezmoi): Skip system packages tasks without sudo rights
mise bootstrap installs apt packages through sudo: for an account without
sudo (devenv sandbox agent), it failed and stopped chezmoi apply, thus the
image build. The bootstrap and the APT section of update are now skipped
unless the account is root, has passwordless sudo, or belongs to a sudo
group with a terminal to type the password.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 21:37:42 +01:00