mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user