From e2e450b1f0968d8eb2757cd46a7cddfbe6b81256 Mon Sep 17 00:00:00 2001
From: Andri Joos <andri@joos.io>
Date: Sun, 5 Jan 2025 18:17:40 +0100
Subject: [PATCH] update apt cache when installing mainline kernel

---
 playbooks/install_packages.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/playbooks/install_packages.yaml b/playbooks/install_packages.yaml
index 47e8bfa..19f6658 100644
--- a/playbooks/install_packages.yaml
+++ b/playbooks/install_packages.yaml
@@ -23,7 +23,7 @@
   tasks:
     - name: Update APT cache
       include_tasks: ../tasks/apt_templates/apt_update.yaml
-      when: apt_packages != "" or flatpak_packages != ""
+      when: apt_packages != "" or flatpak_packages != "" or mainline_kernels != ""
 
     - name: Include APT Tasks
       include_tasks: "{{ item }}"
-- 
GitLab