Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 361349 | Differences between
and this patch

Collapse All | Expand All

(-)/tmp/baselayout-2.1.ebuild (-1 / +15 lines)
Lines 12-18 Link Here
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
14
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
15
IUSE="build"
15
IUSE="build kernel_linux"
16
16
17
PDEPEND="sys-apps/openrc"
17
PDEPEND="sys-apps/openrc"
18
18
Lines 221-224 Link Here
221
			ewarn "${bad_shells}"
221
			ewarn "${bad_shells}"
222
		fi
222
		fi
223
	fi
223
	fi
224
225
	# http://bugs.gentoo.org/361349
226
	if use kernel_linux; then
227
		mkdir -p "${ROOT}"/run
228
229
		if ! `grep -qs tmpfs.*/run "${ROOT}"/proc/mounts`; then
230
			if `grep -qs tmpfs "${ROOT}"/proc/filesystems`; then
231
				mount -t tmpfs tmpfs "${ROOT}"/run
232
			else
233
				ewarn "You need to recompile your kernel with CONFIG_TMPFS=y because it's"
234
				ewarn "required for mounting /run."
235
			fi
236
		fi
237
	fi
224
}
238
}

Return to bug 361349