Files
Anthias/bin
Viktor Petersson 9094a2031d fix(install): install polkitd on Trixie+ manage-network path; minimize apt updates (#3060)
* fix(ansible): install polkitd on Trixie+ manage-network path

- NetworkManager only Recommends polkitd, so minimal Armbian Trixie
  images ship NM without it and have no /etc/polkit-1/rules.d
- the rules copy task then failed: "Destination directory
  /etc/polkit-1/rules.d does not exist", aborting the install
- install polkitd explicitly so the rule has a home and a daemon to
  enforce it

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(ansible): drop redundant apt update_cache on polkitd install

- the network role runs after the system role's apt update + dist
  upgrade, so the cache is already fresh
- matches the splashscreen role's mid-playbook package installs, which
  carry no update_cache

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* refactor(install): refresh apt lists once per source change

- guard install.sh's two apt-get updates behind apt_update_once so a
  minimal image no longer double-updates; reset only when the legacy
  Raspbian mirror is actually rewritten
- drop redundant update_cache on the libc6-dev reinstall; the cache is
  already fresh from install.sh
- net result: one base update + one per added repo (Docker)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 10:30:13 +01:00
..