mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-16 13:02:18 +00:00
tests/ahci: Change "ide-drive" deprecated QEMU device name to "ide-hd"
This commit is contained in:
commit
41227beebd
4
debian/.git-dpm
vendored
4
debian/.git-dpm
vendored
@ -1,6 +1,6 @@
|
|||||||
# see git-dpm(1) from git-dpm package
|
# see git-dpm(1) from git-dpm package
|
||||||
15983593f6792a2dffaa77ce1842f0fcbb694d50
|
c50a3ed395c5a08bba44c8ade364650b901bc30b
|
||||||
15983593f6792a2dffaa77ce1842f0fcbb694d50
|
c50a3ed395c5a08bba44c8ade364650b901bc30b
|
||||||
21f954425ffe2a934b6b26c0c948d340c91a16bb
|
21f954425ffe2a934b6b26c0c948d340c91a16bb
|
||||||
21f954425ffe2a934b6b26c0c948d340c91a16bb
|
21f954425ffe2a934b6b26c0c948d340c91a16bb
|
||||||
grub2_2.06.orig.tar.xz
|
grub2_2.06.orig.tar.xz
|
||||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -6,6 +6,7 @@ grub2 (2.06-1) UNRELEASED; urgency=medium
|
|||||||
manual checks for UEFI Secure Boot.
|
manual checks for UEFI Secure Boot.
|
||||||
* Cherry-pick from upstream:
|
* Cherry-pick from upstream:
|
||||||
- fs/xfs: Fix unreadable filesystem with v4 superblock
|
- fs/xfs: Fix unreadable filesystem with v4 superblock
|
||||||
|
- tests/ahci: Change "ide-drive" deprecated QEMU device name to "ide-hd"
|
||||||
|
|
||||||
-- Colin Watson <cjwatson@debian.org> Wed, 18 Aug 2021 13:03:23 +0100
|
-- Colin Watson <cjwatson@debian.org> Wed, 18 Aug 2021 13:03:23 +0100
|
||||||
|
|
||||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -58,3 +58,4 @@ debug_verifiers.patch
|
|||||||
mkimage-fix-section-sizes.patch
|
mkimage-fix-section-sizes.patch
|
||||||
tpm-unknown-error-non-fatal.patch
|
tpm-unknown-error-non-fatal.patch
|
||||||
xfs-fix-v4-superblock.patch
|
xfs-fix-v4-superblock.patch
|
||||||
|
tests-ahci-update-qemu-device-name.patch
|
||||||
|
34
debian/patches/tests-ahci-update-qemu-device-name.patch
vendored
Normal file
34
debian/patches/tests-ahci-update-qemu-device-name.patch
vendored
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From c50a3ed395c5a08bba44c8ade364650b901bc30b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Marius Bakke <marius@gnu.org>
|
||||||
|
Date: Sun, 13 Jun 2021 15:11:51 +0200
|
||||||
|
Subject: tests/ahci: Change "ide-drive" deprecated QEMU device name to
|
||||||
|
"ide-hd"
|
||||||
|
|
||||||
|
The "ide-drive" device was removed in QEMU 6.0. The "ide-hd" has been
|
||||||
|
available for more than 10 years now in QEMU. Thus there shouldn't be
|
||||||
|
any need for backwards compatible names.
|
||||||
|
|
||||||
|
Signed-off-by: Marius Bakke <marius@gnu.org>
|
||||||
|
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
|
||||||
|
|
||||||
|
Origin: upstream, https://git.savannah.gnu.org/cgit/grub.git/commit/?id=aaea244a6ddd1e35aed60a5c7a08ddc41f51805b
|
||||||
|
Last-Update: 2021-09-24
|
||||||
|
|
||||||
|
Patch-Name: tests-ahci-update-qemu-device-name.patch
|
||||||
|
---
|
||||||
|
tests/ahci_test.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/tests/ahci_test.in b/tests/ahci_test.in
|
||||||
|
index 7df560462..d844fe680 100644
|
||||||
|
--- a/tests/ahci_test.in
|
||||||
|
+++ b/tests/ahci_test.in
|
||||||
|
@@ -41,7 +41,7 @@ echo "hello" > "$outfile"
|
||||||
|
|
||||||
|
tar cf "$imgfile" "$outfile"
|
||||||
|
|
||||||
|
-if [ "$(echo "nativedisk; source '(ahci0)/$outfile';" | "${grubshell}" --qemu-opts="-drive id=disk,file=$imgfile,if=none -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0 " | tail -n 1)" != "Hello World" ]; then
|
||||||
|
+if [ "$(echo "nativedisk; source '(ahci0)/$outfile';" | "${grubshell}" --qemu-opts="-drive id=disk,file=$imgfile,if=none -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0 " | tail -n 1)" != "Hello World" ]; then
|
||||||
|
rm "$imgfile"
|
||||||
|
rm "$outfile"
|
||||||
|
exit 1
|
@ -41,7 +41,7 @@ echo "hello" > "$outfile"
|
|||||||
|
|
||||||
tar cf "$imgfile" "$outfile"
|
tar cf "$imgfile" "$outfile"
|
||||||
|
|
||||||
if [ "$(echo "nativedisk; source '(ahci0)/$outfile';" | "${grubshell}" --qemu-opts="-drive id=disk,file=$imgfile,if=none -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0 " | tail -n 1)" != "Hello World" ]; then
|
if [ "$(echo "nativedisk; source '(ahci0)/$outfile';" | "${grubshell}" --qemu-opts="-drive id=disk,file=$imgfile,if=none -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0 " | tail -n 1)" != "Hello World" ]; then
|
||||||
rm "$imgfile"
|
rm "$imgfile"
|
||||||
rm "$outfile"
|
rm "$outfile"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user