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