Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #89049

Bug#894906: linux-cpupower: provide a systemd service and a default config file

From Francesco Poli <invernomuto@paranoici.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#894906: linux-cpupower: provide a systemd service and a default config file
Date 2025-08-31 11:20 +0200
Message-ID <LpMo9-bHFs-3@gated-at.bofh.it> (permalink)
References (8 earlier) <vBcuZ-4Bk-1@gated-at.bofh.it> <KrJ4Z-7117-11@gated-at.bofh.it> <KsJFE-7F6j-1@gated-at.bofh.it> <vBcuZ-4Bk-1@gated-at.bofh.it> <KsJFE-7F6j-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, 21 Mar 2025 13:17:52 +0100 Salvatore Bonaccorso wrote:

[...]
> Hope that helps you to start, feel free to as well CC the Debian bug
> so that (or at least point out when you have started the discussion
> upstream so that we can mark the bug forwarded).

Hello Salvatore,
it was not a short journey, but the (refined) patch has been accepted
upstream.

Now I would like to see it shipped in the Debian package, please...

It is already present in the Debian source package:

https://sources.debian.org/src/linux/6.16.3-1/tools/power/cpupower/cpupower.sh
https://sources.debian.org/src/linux/6.16.3-1/tools/power/cpupower/cpupower.service.in
https://sources.debian.org/src/linux/6.16.3-1/tools/power/cpupower/cpupower-service.conf

But the Debian binary package does not ship the files:

  $ dpkg -l | grep cpupower | cut -c 1-77
  ii  libcpupower1                    6.16.3-1                            amd64
  ii  linux-cpupower                  6.16.3-1                            amd64
  $ dpkg -S libexec/cpupower
  dpkg-query: no path found matching pattern *libexec/cpupower*
  $ dpkg -S cpupower.service
  dpkg-query: no path found matching pattern *cpupower.service*
  $ dpkg -S cpupower-service.conf
  dpkg-query: no path found matching pattern *cpupower-service.conf*


Please note that:

 * cpupower.sh should be installed to /usr/libexec/cpupower

 * cpupower.service.in should be transformed (with some sed editing)
   into /usr/lib/systemd/system/cpupower.service  (this systemd service
   unit is disabled by default)

 * cpupower-service.conf should be installed
   to /etc/cpupower-service.conf

All this is taken care of by the Makefile, see lines 310÷315 (and other
related lines):

https://sources.debian.org/src/linux/6.16.3-1/tools/power/cpupower/Makefile#L310


Please modify Debian binary package 'linux-cpupower', so that it
correctly ships the three above-mentioned files in the correct
destinations, with the systemd service unit disabled by default.


Looking forward to seeing this bug fixed once and for all.
Thanks for your time!



-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#894906: linux-cpupower: provide a systemd service and a default config file jim_p <pitsiorisj@outlook.com> - 2024-07-22 17:00 +0200
  Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-07-27 18:00 +0200
    Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-09-15 17:30 +0200
      Bug#894906: linux-cpupower: provide a systemd service and a default config file Salvatore Bonaccorso <carnil@debian.org> - 2024-09-21 17:20 +0200
      Bug#894906: linux-cpupower: provide a systemd service and a default config file Bastian Blank <waldi@debian.org> - 2024-09-22 12:00 +0200
        Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-09-22 16:40 +0200
          Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2024-12-28 18:00 +0100
            Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-03-10 19:40 +0100
              Bug#894906: linux-cpupower: provide a systemd service and a default config file Salvatore Bonaccorso <carnil@debian.org> - 2025-03-17 21:30 +0100
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-03-18 18:40 +0100
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Salvatore Bonaccorso <carnil@debian.org> - 2025-03-21 13:30 +0100
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-08-31 11:20 +0200
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-09-29 23:10 +0200
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Salvatore Bonaccorso <carnil@debian.org> - 2025-10-13 17:30 +0200
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-10-13 23:20 +0200
                Bug#894906: linux-cpupower: provide a systemd service and a default config file Francesco Poli <invernomuto@paranoici.org> - 2025-10-15 20:30 +0200

csiph-web