1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

test: regenerate module dependencies after installing all modules

This commit is contained in:
Frantisek Sumsal 2021-09-18 23:06:36 +02:00
parent abfa9a0e7d
commit 41187e716d

View File

@ -60,7 +60,6 @@ test_append_files() {(
instmods "=block" "=md" "=nvme" "=scsi"
install_dmevent
generate_module_dependencies
image_install lsblk wc wipefs
# Install the optional features if the host has the respective tooling
@ -70,6 +69,8 @@ test_append_files() {(
fi
done
generate_module_dependencies
for i in {0..127}; do
dd if=/dev/zero of="${TESTDIR:?}/disk$i.img" bs=1M count=1
echo "device$i" >"${TESTDIR:?}/disk$i.img"