# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ UNIPATCH_STRICTORDER="yes" K_SECURITY_UNSUPPORTED="1" ETYPE="sources" inherit kernel-2 detect_version detect_arch RT_TARGET="${PV}.2-rt30" RT_URI="http://www.kernel.org/pub/linux/kernel/projects/rt/patch-${RT_TARGET}.bz2" UNIPATCH_LIST="${DISTDIR}/patch-${RT_TARGET}.bz2" DESCRIPTION="Full (vanilla) sources for the kernel, with the RT-Preempt patch." HOMEPAGE="http://www.kernel.org" SRC_URI="${KERNEL_URI} ${RT_URI} ${ARCH_URI}" KEYWORDS="~amd64 ~arm ~ppc ~pp64 ~x86" IUSE="" K_EXTRAELOG="If there are issues with this kernel, please direct any queries to http://lkml.org/" pkg_postinst() { kernel-2_pkg_postinst elog "" elog "Note that the pam limits.conf method for allowing normal users" elog "to set realtime (SCHED_FIFO) priorities is no longer enough." elog "In order to enable realtime scheduling in newer kernels, you" elog "need to decrease the value in:" elog " /sys/kernel/uids/0/cpu_rt_runtime" elog "and increase the value for your own UID. Something like 450000" elog "for each one should suffice to get started. You will also need" elog "the following kernel options enabled:" elog " CONFIG_GROUP_SCHED=y" elog " CONFIG_FAIR_GROUP_SCHED=y" elog " CONFIG_RT_GROUP_SCHED=y" elog " CONFIG_USER_SCHED=y" elog "For more info on realtime scheduling in the kernel, see:" elog " /usr/src/linux/Documentation/scheduler/sched-rt-group.txt" elog "" }