From 76d5360dbec7dfb530a6302a7e3b2042e6ff28cc Mon Sep 17 00:00:00 2001 From: iFixit <133802824+Silver-Crystal@users.noreply.github.com> Date: Fri, 3 Jul 2026 14:35:17 -0700 Subject: [PATCH] Fix: Update mkinitcpio command to use -P option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit use ```mkinitcpio -P``` instead of hardcoded ```mkintcpio -p linux``` (fix suggested by cube and validated by copilot) (manpage for mkinitcpio says ```-P, --allpresets Process all presets contained in /etc/mkinitcpio.d. See the -p option for more detail about presets. -p, --preset preset Build initramfs image(s) according to specified preset. This may be a file in /etc/mkinitcpio.d (without the .preset extension) or a full, absolute path to a file. This option may be specified mul‐ tiple times to process multiple presets.``` This does seem to remove hard coded path --- quickemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickemu b/quickemu index 30a1aa5..e4a5397 100755 --- a/quickemu +++ b/quickemu @@ -30,8 +30,8 @@ function ignore_msrs_always() { sudo update-initramfs -k all -u ;; 2) - sudo mkinitcpio -p linux - echo "Ran mkinitcpio -p linux" + sudo mkinitcpio -P + echo "Ran mkinitcpio -P" ;; 3) echo "ERROR! User does not have update-initramfs or mkinitcpio installed, please find out respective utility to update/regenrate intiramfs."