mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-fs/udisks: install tmpfiles on OpenRC too
Closes: https://bugs.gentoo.org/865663 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -114,6 +114,9 @@ src_install() {
|
||||
|
||||
rm -rf "${ED}"/usr/share/bash-completion
|
||||
dobashcomp data/completions/udisksctl
|
||||
|
||||
# bug #865663
|
||||
dotmpfiles data/tmpfiles.d/udisks2.conf
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
@@ -126,9 +129,6 @@ pkg_preinst() {
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
# TODO: obsolete with tmpfiles_process?
|
||||
# mkdir -p "${EROOT}"/run #415987
|
||||
|
||||
tmpfiles_process udisks2.conf
|
||||
|
||||
# See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -112,6 +112,9 @@ src_install() {
|
||||
|
||||
rm -rf "${ED}"/usr/share/bash-completion
|
||||
dobashcomp data/completions/udisksctl
|
||||
|
||||
# bug #865663
|
||||
dotmpfiles data/tmpfiles.d/udisks2.conf
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
@@ -124,9 +127,6 @@ pkg_preinst() {
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
# TODO: obsolete with tmpfiles_process?
|
||||
# mkdir -p "${EROOT}"/run #415987
|
||||
|
||||
tmpfiles_process udisks2.conf
|
||||
|
||||
# See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
|
||||
Reference in New Issue
Block a user