Skip to content

Commit

Permalink
Fix Kernel Header installation when apt sources aren't up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyMeco authored and igorpecovnik committed Jan 23, 2025
1 parent 0fa67b6 commit 1a6fdab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/modules/system/install_headers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ function module_headers () {
local title="headers"
local condition=$(which "$title" 2>/dev/null)

pkg_update

if [[ -f /etc/armbian-release ]]; then
source /etc/armbian-release
# branch information is stored in armbian-release at boot time. When we change kernel branches, we need to re-read this and add it
Expand Down

0 comments on commit 1a6fdab

Please sign in to comment.