trap "$(shopt -p globstar)" RETURN
shopt -q -s globstar
- local dracut_modules="resume systemd-udevd systemd-journald systemd-tmpfiles systemd-cryptsetup systemd-emergency systemd-ac-power systemd-coredump systemd-creds systemd-integritysetup systemd-ldconfig systemd-pstore systemd-repart systemd-sysext systemd-veritysetup systemd-hostnamed systemd-portabled systemd-timedated"
+ local dracut_modules="resume systemd-udevd systemd-journald systemd-tmpfiles systemd-cryptsetup systemd-emergency systemd-ac-power systemd-coredump systemd-creds systemd-integritysetup systemd-ldconfig systemd-pstore systemd-repart systemd-sysext systemd-veritysetup systemd-hostnamed systemd-timedated"
# TODO - this workaround should not be needed and should be removed
if [ -f /usr/bin/dbus-broker ]; then
if [ -f /usr/lib/systemd/systemd-pcrextend ]; then
dracut_modules="$dracut_modules systemd-pcrphase"
fi
+ if [ -f /usr/lib/systemd/systemd-portabled ]; then
+ dracut_modules="$dracut_modules systemd-portabled"
+ fi
# Create what will eventually be our root filesystem onto an overlay
"$DRACUT" -N --keep --tmpdir "$TESTDIR" \
chrony \
cifs-utils \
cryptsetup \
- device-mapper-multipath \
dhcpcd \
e2fsprogs \
fuse3 \
xfsprogs \
xorriso \
&& tdnf clean all
+
+# disable systemd-portabled - it is optional and allows to pass the CI
+RUN \
+ rm -rf /usr/bin/portablectl /usr/lib/systemd/systemd-portabled