From 8a54cff407f3959751d6f0ede27ab19028d133da Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 6 Nov 2024 11:17:42 -0800 Subject: [PATCH] support_server: use --use-host-config with --installroot dnf5 needs us to do this to make it use the repo config from the host, rather than expecting there to be one inside the target install root. This test should now always run on F41 with dnf5, so let's just change it unconditionally. Signed-off-by: Adam Williamson --- tests/_support_server.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_support_server.pm b/tests/_support_server.pm index 08105fe2..ae2afac8 100644 --- a/tests/_support_server.pm +++ b/tests/_support_server.pm @@ -31,7 +31,7 @@ sub _pxe_setup { assert_script_run "mkdir -p /var/lib/tftpboot/pxelinux.cfg"; # install bootloader packages assert_script_run "dnf -y install syslinux", 120; - assert_script_run "dnf -y --releasever=$ourversion --installroot=/var/tmp/fedora install shim-x64 grub2-efi-x64", 300; + assert_script_run "dnf -y --releasever=$ourversion --use-host-config --installroot=/var/tmp/fedora install shim-x64 grub2-efi-x64", 300; # copy bootloader files to tftp root assert_script_run "cp /usr/share/syslinux/{pxelinux.0,vesamenu.c32,ldlinux.c32,libcom32.c32,libutil.c32} /var/lib/tftpboot"; assert_script_run "cp /var/tmp/fedora/boot/efi/EFI/fedora/{shim.efi,grubx64.efi} /var/lib/tftpboot";