Skip to content

Commit

Permalink
Fix booting test VMs on some hardware
Browse files Browse the repository at this point in the history
Systems without any AHCI devices will result in an initramfs generated
by mkinitcpio without any AHCI kernel drivers. Drives attached to the
test VM are connected via AHCI, so they will not show up. Explicitly
requiring the kernel module resolves this issue.
  • Loading branch information
zdykstra committed Nov 13, 2022
1 parent 8d3bbff commit 562b14a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ EOF
mkdir -p "${MKINITCPIOD}"

cat << EOF > "${MKINITCPIOD}/base.conf"
MODULES=()
MODULES=(ahci.ko)
BINARIES=()
FILEs=()
FILES=()
HOOKS=(base udev autodetect modconf block filesystems keyboard)
COMPRESSION="cat"
EOF
Expand Down

0 comments on commit 562b14a

Please sign in to comment.