summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-05-16 06:16:56 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-05-16 06:16:56 +0000
commit6d12a60fa9b5157eb62c07721b866aa1f7c77889 (patch)
tree77c8e3a64f1ba5c8acc18da1eece6eacb6265dc3 /sys-fs/udisks
parentUse ! instead of . in ewarn (diff)
downloadgentoo-2-6d12a60fa9b5157eb62c07721b866aa1f7c77889.tar.gz
gentoo-2-6d12a60fa9b5157eb62c07721b866aa1f7c77889.tar.bz2
gentoo-2-6d12a60fa9b5157eb62c07721b866aa1f7c77889.zip
Warn the user if /run is not mounted tmpfs
(Portage version: 2.2.0_alpha105/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/udisks')
-rw-r--r--sys-fs/udisks/ChangeLog5
-rw-r--r--sys-fs/udisks/udisks-1.97.0-r1.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/sys-fs/udisks/ChangeLog b/sys-fs/udisks/ChangeLog
index 378578f4d77f..a644c2785fda 100644
--- a/sys-fs/udisks/ChangeLog
+++ b/sys-fs/udisks/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for sys-fs/udisks
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks/ChangeLog,v 1.83 2012/05/15 12:45:57 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks/ChangeLog,v 1.84 2012/05/16 06:16:56 ssuominen Exp $
15 May 2012; Samuli Suominen <ssuominen@gentoo.org> -udisks-1.97.0.ebuild:
old
@@ -8,7 +8,8 @@
*udisks-1.97.0-r1 (15 May 2012)
15 May 2012; Samuli Suominen <ssuominen@gentoo.org> +udisks-1.97.0-r1.ebuild:
- Revision bump for last change to ensure /run is in place.
+ Revision bump for last change to ensure /run is in place. Warn the user if
+ /run is not mounted with tmpfs wrt #415987
15 May 2012; Samuli Suominen <ssuominen@gentoo.org> udisks-1.97.0.ebuild:
Keyword ~ppc/~ppc64 wrt #412801
diff --git a/sys-fs/udisks/udisks-1.97.0-r1.ebuild b/sys-fs/udisks/udisks-1.97.0-r1.ebuild
index 9102437a7a6c..e864a7634c18 100644
--- a/sys-fs/udisks/udisks-1.97.0-r1.ebuild
+++ b/sys-fs/udisks/udisks-1.97.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks/udisks-1.97.0-r1.ebuild,v 1.2 2012/05/15 12:57:42 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks/udisks-1.97.0-r1.ebuild,v 1.3 2012/05/16 06:16:56 ssuominen Exp $
EAPI=4
inherit eutils bash-completion-r1 linux-info systemd
@@ -90,4 +90,10 @@ src_install() {
pkg_postinst() {
mkdir -p "${EROOT}"/run #415987
+
+ # 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
}