diff options
author | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2018-07-16 12:24:02 -0400 |
---|---|---|
committer | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2018-07-16 12:24:02 -0400 |
commit | e9587331f003752a7e89f6322efc14ee09a182b7 (patch) | |
tree | 03f3e73edd89785c34b2d3813fcf4223f4e76194 | |
parent | bootloader-setup.sh: add missing "docache" param for grub menu (diff) | |
download | catalyst-e9587331.tar.gz catalyst-e9587331.tar.bz2 catalyst-e9587331.zip |
prefer /boot/EFI
users can setup whatever they want in cdtar and it's valid, but because
linux is case sensative we are simply going to prefer /boot/EFI over
/boot/efi
-rwxr-xr-x | targets/support/create-iso.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/targets/support/create-iso.sh b/targets/support/create-iso.sh index dcf18d76..3d069ed3 100755 --- a/targets/support/create-iso.sh +++ b/targets/support/create-iso.sh @@ -269,6 +269,10 @@ case ${clst_hostarch} in mkdir -p "${clst_target_path}"/boot else echo "Preparing EFI boot image" + if [ -d "${clst_target_path}/boot/efi" ] && [ ! -d "${clst_target_path}/boot/EFI" ]; then + echo "Moving /boot/efi to /boot/EFI" + mv "${clst_target_path}/boot/efi" "${clst_target_path}/boot/EFI" + fi # prepare gentoo.efimg from clst_target_path /boot/EFI dir iaSizeTemp=$(du -sk "${clst_target_path}/boot/EFI" 2>/dev/null) iaSizeB=$(echo ${iaSizeTemp} | cut '-d ' -f1) |