fwupd/contrib/debian/tests/ci
Lukas Märdian 8702600928 debian: debci: don't stderr-fail the autopkgtest on modprobe error
it's optional as tests can be skipped, if mtdram module isn't there

Signed-off-by: Lukas Märdian <slyon@ubuntu.com>
2022-05-18 06:56:02 -05:00

12 lines
417 B
Bash
Executable File

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