903092
From f99b2809835f78ebb613899b7bf71c097b3bb91f Mon Sep 17 00:00:00 2001
903092
From: Peter Jones <pjones@redhat.com>
903092
Date: Tue, 17 Mar 2015 14:50:35 -0400
903092
Subject: [PATCH 30/41] Actually get the test from a7800d8f right.
903092
903092
Woops.
903092
903092
Signed-off-by: Peter Jones <pjones@redhat.com>
903092
---
903092
 test.sh                  | 2 +-
903092
 test/grub2.15            | 2 +-
903092
 test/results/add/g2-1.14 | 6 +++---
903092
 test/results/add/g2-1.15 | 6 +++---
903092
 4 files changed, 8 insertions(+), 8 deletions(-)
903092
903092
diff --git a/test.sh b/test.sh
903092
index 3cfb965..fb13033 100755
903092
--- a/test.sh
903092
+++ b/test.sh
903092
@@ -515,7 +515,7 @@ if [ "$testgrub2" == "y" ]; then
903092
         --add-kernel=/boot/vmlinuz-0-rescue-5a94251776a14678911d4ae0949500f5 \
903092
         --initrd /boot/initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img \
903092
         --copy-default --title "Fedora 21 Rescue" --args=root=/fooooo \
903092
-        --remove-kernel=wtf --boot-filesystem=/boot/
903092
+        --remove-kernel=wtf --boot-filesystem=/boot/ --efi
903092
 
903092
     testing="GRUB2 add initrd"
903092
     grub2Test grub2.2 add/g2-1.4 --update-kernel=/boot/new-kernel.img \
903092
diff --git a/test/grub2.15 b/test/grub2.15
903092
index b7e7c16..ab0c2f8 100644
903092
--- a/test/grub2.15
903092
+++ b/test/grub2.15
903092
@@ -81,7 +81,7 @@ menuentry 'Fedora, with Linux 3.15.0-0.rc5.git2.10.fc21.x86_64' --class fedora -
903092
 	else
903092
 	  search --no-floppy --fs-uuid --set=root 6169b46f-0257-4319-b2e4-caaed2a8e06b
903092
 	fi
903092
-	linux /vmlinuz-3.15.0-0.rc5.git2.10.fc21.x86_64 root=/dev/mapper/fedora_uefi-root ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
+	linuxefi /vmlinuz-3.15.0-0.rc5.git2.10.fc21.x86_64 root=/dev/mapper/fedora_uefi-root ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
 }
903092
 
903092
 ### END /etc/grub.d/10_linux ###
903092
diff --git a/test/results/add/g2-1.14 b/test/results/add/g2-1.14
903092
index 68b2d2b..0865bbc 100644
903092
--- a/test/results/add/g2-1.14
903092
+++ b/test/results/add/g2-1.14
903092
@@ -81,8 +81,8 @@ menuentry 'Fedora 21 Rescue' --class fedora --class gnu-linux --class gnu --clas
903092
 	else
903092
 	  search --no-floppy --fs-uuid --set=root 6169b46f-0257-4319-b2e4-caaed2a8e06b
903092
 	fi
903092
-	linux /vmlinuz-0-rescue-5a94251776a14678911d4ae0949500f5 root=/fooooo ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
-	initrd /initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img
903092
+	linux16 /vmlinuz-0-rescue-5a94251776a14678911d4ae0949500f5 root=/fooooo ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
+	initrd16 /initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img
903092
 }
903092
 menuentry 'Fedora, with Linux 3.15.0-0.rc5.git2.10.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.15.0-0.rc5.git2.10.fc21.x86_64-advanced-a14e3dcb-ade3-42f7-832f-d9f66b5ae6a3' {
903092
 	load_video
903092
@@ -96,7 +96,7 @@ menuentry 'Fedora, with Linux 3.15.0-0.rc5.git2.10.fc21.x86_64' --class fedora -
903092
 	else
903092
 	  search --no-floppy --fs-uuid --set=root 6169b46f-0257-4319-b2e4-caaed2a8e06b
903092
 	fi
903092
-	linux /vmlinuz-3.15.0-0.rc5.git2.10.fc21.x86_64 root=/dev/mapper/fedora_uefi-root ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
+	linux16 /vmlinuz-3.15.0-0.rc5.git2.10.fc21.x86_64 root=/dev/mapper/fedora_uefi-root ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
 }
903092
 
903092
 ### END /etc/grub.d/10_linux ###
903092
diff --git a/test/results/add/g2-1.15 b/test/results/add/g2-1.15
903092
index 0865bbc..b67c373 100644
903092
--- a/test/results/add/g2-1.15
903092
+++ b/test/results/add/g2-1.15
903092
@@ -81,8 +81,8 @@ menuentry 'Fedora 21 Rescue' --class fedora --class gnu-linux --class gnu --clas
903092
 	else
903092
 	  search --no-floppy --fs-uuid --set=root 6169b46f-0257-4319-b2e4-caaed2a8e06b
903092
 	fi
903092
-	linux16 /vmlinuz-0-rescue-5a94251776a14678911d4ae0949500f5 root=/fooooo ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
-	initrd16 /initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img
903092
+	linuxefi /vmlinuz-0-rescue-5a94251776a14678911d4ae0949500f5 root=/fooooo ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
+	initrdefi /initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img
903092
 }
903092
 menuentry 'Fedora, with Linux 3.15.0-0.rc5.git2.10.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.15.0-0.rc5.git2.10.fc21.x86_64-advanced-a14e3dcb-ade3-42f7-832f-d9f66b5ae6a3' {
903092
 	load_video
903092
@@ -96,7 +96,7 @@ menuentry 'Fedora, with Linux 3.15.0-0.rc5.git2.10.fc21.x86_64' --class fedora -
903092
 	else
903092
 	  search --no-floppy --fs-uuid --set=root 6169b46f-0257-4319-b2e4-caaed2a8e06b
903092
 	fi
903092
-	linux16 /vmlinuz-3.15.0-0.rc5.git2.10.fc21.x86_64 root=/dev/mapper/fedora_uefi-root ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
+	linuxefi /vmlinuz-3.15.0-0.rc5.git2.10.fc21.x86_64 root=/dev/mapper/fedora_uefi-root ro  rd.lvm.lv=fedora_uefi/root rd.lvm.lv=fedora_uefi/swap rhgb quiet
903092
 }
903092
 
903092
 ### END /etc/grub.d/10_linux ###
903092
-- 
903092
2.4.3
903092