From: motorto <motorto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] power-profiles-daemon: create /var/lib/power-profiles-daemon
Date: Sun, 08 Oct 2023 19:00:27 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46521@inbox.vuxu.org> (raw)
[-- 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"
next reply other threads:[~2023-10-08 17:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-08 17:00 motorto [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46521@inbox.vuxu.org \
--to=motorto@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).