[SRU][kernel-snaps-uc24.04/pc][PATCH 1/1] snapcraft.yaml: Remove pc-kernel hooks
Aaron Jauregui
aaron.jauregui at canonical.com
Wed Mar 19 08:20:28 UTC 2025
Remove pc-kernel hooks for automatically installing components, as
installing components before seeding is done breaks installs. By default
no nvidia components will be installed now, and installation will happen
manually through snap install pc-kernel+<nvidia_component> or from the
model.
Signed-off-by: Aaron Jauregui <aaron.jauregui at canonical.com>
---
snapcraft.yaml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/snapcraft.yaml b/snapcraft.yaml
index c631d63..add8e5e 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -61,7 +61,6 @@ parts:
# Move hooks to staging area so they can be picked up by organize
mv hooks/module/* "$CRAFT_PART_INSTALL"
- mv hooks/pc-kernel/* "$CRAFT_PART_INSTALL"
organize:
# Organize nouveau into a dedicated component
@@ -70,9 +69,6 @@ parts:
post-refresh.module: (component/nouveau-ko)/snap/hooks/post-refresh
remove.module: (component/nouveau-ko)/snap/hooks/remove
- install.pc-kernel: snap/hooks/install
- post-refresh.pc-kernel: snap/hooks/post-refresh
-
override-stage: |
# Determine 'uname -r'
--
2.43.0
More information about the kernel-team
mailing list