Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ Prerequisites:
Intel RAPL-mmio power capping driver: Available from 5.3-rc1

Companion tools
ThermalMonitor
Graphical front end for monitoring and control.
Source code is as part of tools folder in this git repository.
dptfxtract
Download from: https://github.com/intel/dptfxtract
This generates configuration files for thermald on some systems.
Expand Down
8 changes: 0 additions & 8 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ else
fi
AC_SUBST(DBUS_SYS_DIR)

AC_ARG_WITH(dbus-power-group, AS_HELP_STRING([--with-dbus-power-group=GROUP], [group that is allowed to connect to D-BUS service]))
if test -n "$with_dbus_power_group" ; then
DBUS_POWER_GROUP="$with_dbus_power_group"
else
DBUS_POWER_GROUP="power"
fi
AC_SUBST(DBUS_POWER_GROUP)

# paths
AC_SUBST(tdbinary, "$sbindir/$PACKAGE", [Binary executable])
AC_SUBST(tdconfdir, "$sysconfdir/$PACKAGE", [Configuration directory])
Expand Down
10 changes: 1 addition & 9 deletions data/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,8 @@ service_edit = sed \

endif # HAVE_SYSTEMD

dbusservice_edit = sed \
-e 's|@dbusservicepowergrp[@]|$(dbusservicepowergrp)|g'

org.freedesktop.thermald.conf: org.freedesktop.thermald.conf.in
@$(dbusservice_edit) $< >$@

dbusservicepowergrp = $(DBUS_POWER_GROUP)
dbusservicedir = $(DBUS_SYS_DIR)
dbusservice_in_files = org.freedesktop.thermald.conf.in
dbusservice_DATA = $(dbusservice_in_files:.conf.in=.conf)
dbusservice_DATA = org.freedesktop.thermald.conf

tdconfigdir = $(tdconfdir)
tdconfig_DATA = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
<allow receive_sender="org.freedesktop.thermald"/>
</policy>

<!-- Only allow members of the @dbusservicepowergrp@ group to communicate
with the daemon -->
<policy context="default">
<deny send_destination="org.freedesktop.thermald"/>
<allow receive_sender="org.freedesktop.thermald"/>
Expand Down