Temporarily build a custom initrd for the integration test suite
libkmod became a dlopen() dep, so we need to get it into the initrd explicitly. Until the machinery around this propagates to Fedora, let's temporarily build a custom initrd with libkmod included. See: https://github.com/systemd/systemd/pull/31131
This commit is contained in:
parent
a6ab45e799
commit
adda8eecf8
1 changed files with 7 additions and 0 deletions
|
|
@ -51,6 +51,13 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
# Temporarily build custom initrd with libkmod installed explicitly, as it became
|
||||
# a dlopen() dep
|
||||
# See: https://github.com/systemd/systemd/pull/31131
|
||||
export INITRD="$(mktemp /var/tmp/ci-XXX.initrd)"
|
||||
cp -fv "/boot/initramfs-$(uname -r).img" "$INITRD"
|
||||
dracut -f -v -a crypt --install /usr/lib64/libkmod.so.2 --rebuild "$INITRD"
|
||||
|
||||
export DENY_LIST_MARKERS=fedora-skip
|
||||
# Skip TEST-64-UDEV-STORAGE for now, as it takes a really long time without KVM
|
||||
touch test/TEST-64-UDEV-STORAGE/fedora-skip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue