Skip to content

Commit

Permalink
tests: Run power-profiles-daemon on Debian
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Feb 23, 2024
1 parent 8cec9a1 commit 254bd55
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/run-debian
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ eatmydata apt-get install --no-install-recommends -y git \
python3-dbus python3-pytest python3-gi gir1.2-glib-2.0 \
dbus libnotify-bin upower network-manager bluez ofono ofono-scripts

# power-profiles-daemon 0.20 did not yet land in Ubuntu 24.04
. /etc/os-release
if [ "$ID" = "debian" ]; then
eatmydata apt-get install -y power-profiles-daemon
fi

# systemd's tools otherwise fail on "not been booted with systemd"
mkdir -p /run/systemd/system

Expand Down

0 comments on commit 254bd55

Please sign in to comment.