1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +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" instmods "=block" "=md" "=nvme" "=scsi"
install_dmevent install_dmevent
generate_module_dependencies
image_install lsblk wc wipefs image_install lsblk wc wipefs
# Install the optional features if the host has the respective tooling # Install the optional features if the host has the respective tooling
@ -70,6 +69,8 @@ test_append_files() {(
fi fi
done done
generate_module_dependencies
for i in {0..127}; do for i in {0..127}; do
dd if=/dev/zero of="${TESTDIR:?}/disk$i.img" bs=1M count=1 dd if=/dev/zero of="${TESTDIR:?}/disk$i.img" bs=1M count=1
echo "device$i" >"${TESTDIR:?}/disk$i.img" echo "device$i" >"${TESTDIR:?}/disk$i.img"