commit:     5e594b78a696a6d00b5f75ffd0d40d7a8a80f348
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue May 11 22:24:33 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed May 12 20:11:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e594b78

sys-apps/baselayout: remove old /run setup

This was needed to create /run on live systems.
There have been several baselayout versions since /run was created, so
it should be safe to remove it.

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-apps/baselayout/baselayout-9999.ebuild | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/sys-apps/baselayout/baselayout-9999.ebuild 
b/sys-apps/baselayout/baselayout-9999.ebuild
index a37d17f3b8d..9f4a53a1c18 100644
--- a/sys-apps/baselayout/baselayout-9999.ebuild
+++ b/sys-apps/baselayout/baselayout-9999.ebuild
@@ -282,18 +282,6 @@ pkg_postinst() {
                fi
        fi
 
-       # https://bugs.gentoo.org/361349
-       if use kernel_linux; then
-               mkdir -p "${EROOT}"/run || die
-
-               local found fstype mountpoint
-               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
                if ver_test 2.4 -lt ${x}; then
                        ewarn "After updating ${EROOT}/etc/profile, please run"

Reply via email to