From 19632f6dbb6697182c95f719055a883df7fb8569 Mon Sep 17 00:00:00 2001 From: Taro Yamada Date: Sat, 2 Feb 2019 13:05:42 +0900 Subject: [PATCH] test: (ArchLinux) Replace initramfs-linux.img with initramfs-linux-fallback.img. Currently /boot/initramfs-linux.img is used as the default initrd for ArchLinux. Although, since the kernel modules that are not necessary for the host environment are removed from initramfs-linux.img by mkinitcpio 's autodetect hook, the kernel modules necessary for qemu may be missing. (ata_piix, ext4, and so on in my case.) As a result, the test environment may not be built properly and the test will be failed. initramfs-linux-fallback.img will skip this autodetect hook, so the test will run successfully in more environments. Both initramfs-linux.img and initramfs-linux-fallback.img are generated by default. --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index 3243a868b7..a936202e4a 100644 --- a/test/test-functions +++ b/test/test-functions @@ -120,7 +120,7 @@ run_qemu() { default_fedora_initrd=/boot/initramfs-${KERNEL_VER}.img default_debian_initrd=/boot/initrd.img-${KERNEL_VER} - default_arch_initrd=/boot/initramfs-linux.img + default_arch_initrd=/boot/initramfs-linux-fallback.img default_suse_initrd=/boot/initrd-${KERNEL_VER} if [[ ! "$INITRD" ]]; then if [[ -e "$default_fedora_initrd" ]]; then