fix: GRUB theme copy path - use iso_root instead of work_dir/iso

This commit is contained in:
2026-07-02 19:59:43 +02:00
parent 8efbcc153a
commit e10c8a49de
+2 -2
View File
@@ -181,9 +181,9 @@ make_grub(){
# Copy Antergos GRUB theme to ISO boot (overrides Artix theme)
if [[ -d "${work_dir}/livefs/usr/share/grub/themes/antergos" ]]; then
cp -r "${work_dir}/livefs/usr/share/grub/themes/antergos" "${work_dir}/iso/boot/grub/themes/"
cp -r "${work_dir}/livefs/usr/share/grub/themes/antergos" "${iso_root}/boot/grub/themes/"
elif [[ -d "${work_dir}/rootfs/usr/share/grub/themes/antergos" ]]; then
cp -r "${work_dir}/rootfs/usr/share/grub/themes/antergos" "${work_dir}/iso/boot/grub/themes/"
cp -r "${work_dir}/rootfs/usr/share/grub/themes/antergos" "${iso_root}/boot/grub/themes/"
fi
if ${use_dracut}; then