From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E596D1396D0 for ; Tue, 3 Oct 2017 17:50:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C960E0CB6; Tue, 3 Oct 2017 17:50:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4279E0CB6 for ; Tue, 3 Oct 2017 17:50:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51F153417FF for ; Tue, 3 Oct 2017 17:50:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B47519087 for ; Tue, 3 Oct 2017 17:50:27 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1507052186.73187892e3b1ff195c127df43a63aac42fc43031.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/baselayout/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/baselayout/baselayout-2.4.1-r2.ebuild X-VCS-Directories: sys-apps/baselayout/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 73187892e3b1ff195c127df43a63aac42fc43031 X-VCS-Branch: master Date: Tue, 3 Oct 2017 17:50:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b15cf864-ef04-42f2-9656-69a0a4eca489 X-Archives-Hash: d3b6e0db3efd5778a9755460e8b1ca89 commit: 73187892e3b1ff195c127df43a63aac42fc43031 Author: William Hubbs gentoo org> AuthorDate: Tue Oct 3 17:35:54 2017 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Oct 3 17:36:26 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73187892 sys-apps/baselayout: 2.4.1-r2: fix tmpfs warning bug: https://bugs.gentoo.org/show_bug.cgi?id=633360 Package-Manager: Portage-2.3.8, Repoman-2.3.3 sys-apps/baselayout/baselayout-2.4.1-r2.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild b/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild index 0d17f0e8894..2d2293456f9 100644 --- a/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild +++ b/sys-apps/baselayout/baselayout-2.4.1-r2.ebuild @@ -224,10 +224,12 @@ pkg_postinst() { if use kernel_linux; then mkdir -p "${EROOT}"run - if ! grep -qs "^tmpfs.*/run " "${ROOT}"proc/mounts ; then - echo - ewarn "You should reboot the system now to get /run mounted with tmpfs!" - fi + local found + while read -r _ mountpoint fstype _; do + [[ ${mountpoint} = /run ]] && [[ ${fstype} = tmpfs ]] && found=1 + done < "${ROOT}"proc/mounts + [[ -z ${found} ]] && + ewarn "You should reboot now to get /run mounted with tmpfs!" fi for x in ${REPLACING_VERSIONS}; do