Diff of /tags/grubby-8_39/grubby.c
Parent Directory | Revision Log | Patch
revision 2686 by niro, Wed Jul 16 10:38:09 2014 UTC | revision 2687 by niro, Wed Jul 16 10:41:38 2014 UTC | |
---|---|---|
# | Line 720 static enum lineType_e preferredLineType | Line 720 static enum lineType_e preferredLineType |
720 | struct configFileInfo *cfi) { | struct configFileInfo *cfi) { |
721 | if (isEfi && cfi == &grub2ConfigType) { | if (isEfi && cfi == &grub2ConfigType) { |
722 | switch (type) { | switch (type) { |
723 | #if defined(__aarch64__) | |
724 | case LT_KERNEL: | |
725 | return LT_KERNEL; | |
726 | case LT_INITRD: | |
727 | return LT_INITRD; | |
728 | #else | |
729 | case LT_KERNEL: | case LT_KERNEL: |
730 | return LT_KERNEL_EFI; | return LT_KERNEL_EFI; |
731 | case LT_INITRD: | case LT_INITRD: |
732 | return LT_INITRD_EFI; | return LT_INITRD_EFI; |
733 | #endif | |
734 | default: | default: |
735 | return type; | return type; |
736 | } | } |
|