Hi all, I just upgraded to `sys-apps/baselayout-2.4.1-r2` and noticed this big warning: * You should reboot the system now to get /run mounted with tmpfs! Since I know my /run is in tmpfs I digged into baselayout-2.4.1-r2.ebuild and found the following code: # https://bugs.gentoo.org/361349 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 fi This make sense, but the regexp is incorrect, since in /proc/mount the filesystem is specified after the mountpoint. The preceding "label" just happen to be tmpfs, and in my case is "none", another common way of labelling. I think is enough to change grep to: if ! grep -qs "/run\s\+tmpfs" "${ROOT}"proc/mounts ; then
You are correct that this was an issue. However, I found a way to check that I feel is more precise and doesn't spawn the grep process. This is fixed in this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit?id=73187892e3b
Looks great to me. Thanks!