From e63f9cb14f661bc9cfbc63e98da0de9d2b4132ab Mon Sep 17 00:00:00 2001 From: alvinlollo Date: Sun, 11 Oct 2026 17:41:38 +1100 Subject: [PATCH] fix(iso): Ship an archiso preset for linux-cachyos, the kernel we boot linux.preset targeted the 'linux' package, which is not on the ISO, so linux-cachyos generated its own default+fallback preset and the squashfs carried an unused fallback initramfs. No package owns the preset file (mkinitcpio's hook only creates one if missing), so this cannot conflict. Co-Authored-By: Claude Opus 5.5 --- airootfs/etc/mkinitcpio.d/linux-cachyos.preset | 11 +++++++++++ airootfs/etc/mkinitcpio.d/linux.preset | 8 -------- 2 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 airootfs/etc/mkinitcpio.d/linux-cachyos.preset delete mode 100644 airootfs/etc/mkinitcpio.d/linux.preset diff --git a/airootfs/etc/mkinitcpio.d/linux-cachyos.preset b/airootfs/etc/mkinitcpio.d/linux-cachyos.preset new file mode 100644 index 0000000..bbd5f1d --- /dev/null +++ b/airootfs/etc/mkinitcpio.d/linux-cachyos.preset @@ -0,0 +1,11 @@ +# mkinitcpio preset file for the 'linux-cachyos' package on archiso +# (the kernel the boot entries load). Not owned by any package: mkinitcpio's +# install hook only generates a preset when none exists, so this one wins and +# the image gets the archiso initramfs alone - no unused fallback image. + +PRESETS=('archiso') + +ALL_kver='/boot/vmlinuz-linux-cachyos' +archiso_config='/etc/mkinitcpio.conf.d/archiso.conf' + +archiso_image="/boot/initramfs-linux-cachyos.img" diff --git a/airootfs/etc/mkinitcpio.d/linux.preset b/airootfs/etc/mkinitcpio.d/linux.preset deleted file mode 100644 index 8e85205..0000000 --- a/airootfs/etc/mkinitcpio.d/linux.preset +++ /dev/null @@ -1,8 +0,0 @@ -# mkinitcpio preset file for the 'linux' package on archiso - -PRESETS=('archiso') - -ALL_kver='/boot/vmlinuz-linux' -archiso_config='/etc/mkinitcpio.conf.d/archiso.conf' - -archiso_image="/boot/initramfs-linux.img"