#!/bin/sh
set -e
# try loading the mtdram module to run our mtd tests
modprobe mtdram 2>&1 || true
fwupdtool modify-config DisabledPlugins ""
fwupdtool modify-config AllowEmulation true
fwupdtool modify-config VerboseDomains "*"
sed "s,ConditionVirtualization=.*,," 		\
	/lib/systemd/system/fwupd.service >	\
	/etc/systemd/system/fwupd.service
systemctl daemon-reload
gnome-desktop-testing-runner fwupd
