Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] power-profiles-daemon: create /var/lib/power-profiles-daemon
@ 2023-10-08 17:00 motorto
  2023-10-08 18:46 ` oreo639
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: motorto @ 2023-10-08 17:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 873 bytes --]

There is a new pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages power-profiles-daemon-var-fix
https://github.com/void-linux/void-packages/pull/46521

power-profiles-daemon: create /var/lib/power-profiles-daemon
Fixes the following warning, that spams the log:

```
daemon.notice: Oct  8 17:58:12 power-profiles-daemon: ** (power-profiles-daemon:833): WARNING **: 17:58:12.124: Could not save configuration file '/var/lib/power-profiles-daemon/state.ini': Failed to create file ?/var/lib/power-profiles-daemon/state.ini.AKGIC2?: No such file or directory
```

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

A patch file from https://github.com/void-linux/void-packages/pull/46521.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-power-profiles-daemon-var-fix-46521.patch --]
[-- Type: text/x-diff, Size: 1697 bytes --]

From 2fd93a806be9ea73f2717127e624da19e9ec916f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 8 Oct 2023 17:58:57 +0100
Subject: [PATCH] power-profiles-daemon: create /var/lib/power-profiles-daemon

Fixes the following warning, that spams the log

```
daemon.notice: Oct  8 17:58:12 power-profiles-daemon: ** (power-profiles-daemon:833): WARNING **: 17:58:12.124: Could not save configuration file '/var/lib/power-profiles-daemon/state.ini': Failed to create file ?/var/lib/power-profiles-daemon/state.ini.AKGIC2?: No such file or directory
```
---
 srcpkgs/power-profiles-daemon/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/power-profiles-daemon/template b/srcpkgs/power-profiles-daemon/template
index 0fdffbd409ab6..39bbaf7fa7356 100644
--- a/srcpkgs/power-profiles-daemon/template
+++ b/srcpkgs/power-profiles-daemon/template
@@ -1,7 +1,7 @@
 # Template file for 'power-profiles-daemon'
 pkgname=power-profiles-daemon
 version=0.13
-revision=2
+revision=3
 build_style=meson
 configure_args="-Dsystemdsystemunitdir=/usr/lib/systemd/system/"
 hostmakedepends="pkg-config glib-devel"
@@ -15,6 +15,7 @@ homepage="https://gitlab.freedesktop.org/hadess/power-profiles-daemon"
 changelog="https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/raw/main/NEWS"
 distfiles="https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/archive/${version}/power-profiles-daemon-${version}.tar.gz"
 checksum=74aac43eb43ebe5a3255a00eb48d781a5acfba32e96ab85737e22205e045e581
+make_dirs="/var/lib/power-profiles-daemon 0600 root root"
 
 if [ "$XBPS_CHECK_PKGS" ]; then
 	configure_args+=" -Dtests=true"

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-10-10  8:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-08 17:00 [PR PATCH] power-profiles-daemon: create /var/lib/power-profiles-daemon motorto
2023-10-08 18:46 ` oreo639
2023-10-08 19:04 ` motorto
2023-10-08 19:28 ` oreo639
2023-10-08 19:31 ` oreo639
2023-10-08 19:33 ` oreo639
2023-10-08 19:34 ` oreo639
2023-10-08 21:01 ` motorto
2023-10-08 21:23 ` oreo639
2023-10-08 21:24 ` oreo639
2023-10-09  9:53 ` [PR PATCH] [Updated] " motorto
2023-10-10  8:34 ` [PR PATCH] [Merged]: " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).