From: Taro Yamada Date: Sat, 2 Feb 2019 04:05:42 +0000 (+0900) Subject: test: (ArchLinux) Replace initramfs-linux.img with initramfs-linux-fallback.img. X-Git-Tag: v241~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19632f6dbb6697182c95f719055a883df7fb8569;p=thirdparty%2Fsystemd.git 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. --- diff --git a/test/test-functions b/test/test-functions index 3243a868b76..a936202e4a7 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