From 03f95a7c04368c69aca62921c5e8ab3ea0f44ff1 Mon Sep 17 00:00:00 2001
From: Chris Peterson <chris.peterson@canonical.com>
Date: Thu, 30 Jan 2025 11:42:21 -0800
Subject: [PATCH] ubuntu-core-installer: update install-sources.yaml with
 kernel

---
 debian/changelog       | 1 +
 live-build/auto/config | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2f0677ec..1d0f1331 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 livecd-rootfs (25.04.13) UNRELEASED; urgency=medium
 
   * install-sources: quote default kernel argument.
+  * ubuntu-core-installer: update install-sources.yaml with kernel.
 
  -- Chris Peterson <chris.peterson@canonical.com>  Fri, 31 Jan 2025 11:57:07 -0800
 
diff --git a/live-build/auto/config b/live-build/auto/config
index 36ea1ae2..7965a06f 100755
--- a/live-build/auto/config
+++ b/live-build/auto/config
@@ -1122,6 +1122,9 @@ case $PROJECT in
 	    add_task base.live server-live
 	    add_package base.live linux-image-generic
 
+	    # Core installer images use the pc-kernel snap for its kernel
+	    write_kernel_yaml "snap:pc-kernel"
+
 	    /usr/share/livecd-rootfs/checkout-translations-branch \
 		https://git.launchpad.net/subiquity po config/catalog-translations
 	    ;;