[SRU][kernel-snaps-uc24.04/pc][PATCH 1/1] snapcraft.yaml: bump kernel version and cleanup

Aaron Jauregui aaron.jauregui at canonical.com
Tue Feb 18 06:26:42 UTC 2025


Signed-off-by: Aaron Jauregui <aaron.jauregui at canonical.com>
---
 snapcraft.yaml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 9acefeb..9ff27b3 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -41,13 +41,11 @@ parts:
       - kmod
 
     stage-packages:
-      - linux-image-uc-generic=6.8.0-52.53
+      - linux-image-uc-generic=6.8.0-56.58
 
     override-build: |
       craftctl default
 
-      echo BULID
-
       # Determine version and 'uname -r'
       unamer=$(basename "$CRAFT_PART_INSTALL"/lib/modules/*)
       version="$(apt show linux-image-uc-"$unamer" 2>/dev/null | sed -n 's/^Version: //p' | head -n1)"
@@ -76,7 +74,6 @@ parts:
       post-refresh.pc-kernel: snap/hooks/post-refresh
 
     override-stage: |
-      echo STAGE
 
       # Determine 'uname -r'
       unamer=$(basename "$CRAFT_PART_INSTALL"/lib/modules/*)
@@ -130,7 +127,7 @@ parts:
 
     override-build: |
       craftctl default
-      version="$(craftctl get version)"
+      version=$(craftctl get version)
 
       # Duplicate libc causing conflicts, deleting to use system's libc
       rm -f -- "$CRAFT_PART_INSTALL/usr/lib/$(uname -m)-linux-gnu/libc.so.6"
-- 
2.43.0




More information about the kernel-team mailing list