mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-db/mysql-init-scripts: update tmpfiles path
The path '/var/run' is deprecated, as the following message is being shown: /usr/lib/tmpfiles.d/mysql.conf:1: Line references path below legacy directory /var/run/, updating /var/run/mysqld /run/mysqld; please update the tmpfiles.d/ drop-in file accordingly. Closes: https://github.com/gentoo/gentoo/pull/24947 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
parent
ac39fc8141
commit
a2e0452761
@ -1 +0,0 @@
|
|||||||
d /var/run/mysqld 0755 mysql mysql -
|
|
||||||
1
dev-db/mysql-init-scripts/files/mysql.conf-r1
Normal file
1
dev-db/mysql-init-scripts/files/mysql.conf-r1
Normal file
@ -0,0 +1 @@
|
|||||||
|
d /run/mysqld 0755 mysql mysql -
|
||||||
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=6
|
||||||
@ -49,7 +49,7 @@ src_install() {
|
|||||||
doexe "${FILESDIR}"/mysqld-wait-ready
|
doexe "${FILESDIR}"/mysqld-wait-ready
|
||||||
systemd_newunit "${FILESDIR}/mysqld-v2.service" "mysqld.service"
|
systemd_newunit "${FILESDIR}/mysqld-v2.service" "mysqld.service"
|
||||||
systemd_newunit "${FILESDIR}/mysqld_at-v2.service" "mysqld@.service"
|
systemd_newunit "${FILESDIR}/mysqld_at-v2.service" "mysqld@.service"
|
||||||
dotmpfiles "${FILESDIR}/mysql.conf"
|
newtmpfiles "${FILESDIR}/mysql.conf-r1" "mysql.conf"
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
insinto /etc/logrotate.d
|
||||||
newins "${FILESDIR}/logrotate.mysql-2.3" "mysql"
|
newins "${FILESDIR}/logrotate.mysql-2.3" "mysql"
|
||||||
Loading…
x
Reference in New Issue
Block a user