OSDN Git Service

[fix] : Added processing when architecture name is different.
authorhayao <hayao@fascode.net>
Tue, 12 May 2020 07:06:32 +0000 (16:06 +0900)
committerhayao <hayao@fascode.net>
Tue, 12 May 2020 07:06:32 +0000 (16:06 +0900)
lubs

diff --git a/lubs b/lubs
index 2a68649..4e85ae2 100755 (executable)
--- a/lubs
+++ b/lubs
@@ -294,8 +294,13 @@ make_deifnes() {
 }
 
 make_isolinux() {
+    if [[ "${arch}" = "amd64" ]]; then
+        local _arch="x86_64"
+    else
+        local _arch="${arch}"
+    fi
     grub-mkstandalone \
-        --format=${arch}-efi \
+        --format=${_arch}-efi \
         --output=isolinux/bootx64.efi \
         --locales="" \
         --fonts="" \