commit:     e9587331f003752a7e89f6322efc14ee09a182b7
Author:     Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 16 16:24:02 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Jul 16 16:24:02 2018 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=e9587331

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

 targets/support/create-iso.sh | 4 ++++
 1 file changed, 4 insertions(+)

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)

Reply via email to