From 9d7592e8d4fe0db0a4e1c6ef58c62930767d696e Mon Sep 17 00:00:00 2001
From: Anupam Basak <anupam.basak27@gmail.com>
Date: Wed, 5 Jun 2024 13:13:10 +0530
Subject: [PATCH] Do not remove existing kernels

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4446e52..bdfb7a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,8 +49,8 @@ build-zynthbox-image-armhf:
     #   rm rpi5-miko-firmware.zip
     #   ls -al ./
     #   EOF
-    - echo "# Cleaning up old and unused kernels"
-    - sudo chroot $mountdir apt -yy remove "linux-headers-6.6.2*" "linux-image-6.6.2*" "linux-headers-rpi-v*" "linux-image-rpi-v*" "linux-kbuild-6.6.2*"
+    # - echo "# Cleaning up old and unused kernels"
+    # - sudo chroot $mountdir apt -yy remove "linux-headers-6.6.2*" "linux-image-6.6.2*" "linux-headers-rpi-v*" "linux-image-rpi-v*" "linux-kbuild-6.6.2*"
     # - echo "# Updating firmware and bootloader"
     # - sudo SKIP_WARNING=1 SKIP_BACKUP=1 ROOT_PATH=$mountdir BOOT_PATH=$mountdir/boot WANT_32BIT=1 WANT_64BIT=0 WANT_PI4=0 WANT_PI5=1 rpi-update
     - echo "# Installing kernel ${KERN}"
-- 
GitLab