sys-fs/udisks: remove check for /run in pkg_postinst

It is safe to assume /run is mounted in the year 2026.

Closes: https://bugs.gentoo.org/971559
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2026-03-25 12:19:43 -04:00
parent e248b25a8c
commit 7610d03b05
3 changed files with 0 additions and 21 deletions

View File

@@ -128,14 +128,7 @@ pkg_preinst() {
pkg_postinst() {
udev_reload
tmpfiles_process udisks2.conf
# See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then
echo
ewarn "You should reboot the system now to get /run mounted with tmpfs!"
fi
}
pkg_postrm() {

View File

@@ -126,14 +126,7 @@ pkg_preinst() {
pkg_postinst() {
udev_reload
tmpfiles_process udisks2.conf
# See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then
echo
ewarn "You should reboot the system now to get /run mounted with tmpfs!"
fi
}
pkg_postrm() {

View File

@@ -126,14 +126,7 @@ pkg_preinst() {
pkg_postinst() {
udev_reload
tmpfiles_process udisks2.conf
# See pkg_postinst() of >=sys-apps/baselayout-2.1-r1. Keep in sync?
if ! grep -qs "^tmpfs.*/run " "${EROOT}"/proc/mounts ; then
echo
ewarn "You should reboot the system now to get /run mounted with tmpfs!"
fi
}
pkg_postrm() {