Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unattended Upgrade Manager module - reconfiguring automatic updates #459

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

igorpecovnik
Copy link
Member

@igorpecovnik igorpecovnik commented Mar 1, 2025

Description

Configuration module for unattended-upgrades on Armbian. Module can install, remove, and configure automatic updates on the system. The script provides default Armbian configuration, which can be tweaked by end user.

Implementation Details

  • APT::Periodic::Update-Package-Lists: Updates package lists automatically.
  • APT::Periodic::Download-Upgradeable-Packages: Downloads upgradeable packages automatically.
  • Unattended-Upgrade::Remove-Unused-Dependencies: Removes unused dependencies after upgrades.
  • Unattended-Upgrade::Automatic-Reboot: Allows automatic reboot after updates.
  • Unattended-Upgrade::Automatic-Reboot-WithUsers: Reboots even with logged-in users.

Testing Procedure

  • Tested on Bookworm
  • Tested on Noble

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have ensured that my changes do not introduce new warnings or errors
  • No new external dependencies are included
  • Changes have been tested and verified
  • I have included necessary metadata in the code, including associative arrays

@github-actions github-actions bot added the size/medium PR with more then 50 and less then 250 lines label Mar 1, 2025
@igorpecovnik igorpecovnik added 05 Milestone: Second quarter release Work in progress Unfinished / work in progress labels Mar 1, 2025
@igorpecovnik igorpecovnik force-pushed the update branch 4 times, most recently from 530d75f to 894845f Compare March 1, 2025 14:26
@igorpecovnik igorpecovnik added Needs review Seeking for review and removed Work in progress Unfinished / work in progress labels Mar 1, 2025
@igorpecovnik igorpecovnik force-pushed the update branch 5 times, most recently from 902b27f to b4b52ca Compare March 2, 2025 21:11
@igorpecovnik igorpecovnik added Ready to merge Reviewed, tested and ready for merge and removed Needs review Seeking for review labels Mar 2, 2025
@igorpecovnik igorpecovnik merged commit 7c993c5 into main Mar 3, 2025
10 of 19 checks passed
@igorpecovnik igorpecovnik deleted the update branch March 3, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
05 Milestone: Second quarter release Ready to merge Reviewed, tested and ready for merge size/medium PR with more then 50 and less then 250 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant