2015-04-15 17:58:34 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2013-05-10 18:53:08 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2013-05-10 18:53:08 +04:00
|
|
|
|
|
|
|
EAPI="5"
|
|
|
|
ETYPE="sources"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
2015-08-25 09:05:57 +03:00
|
|
|
HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
|
2013-05-10 18:53:08 +04:00
|
|
|
|
|
|
|
inherit versionator
|
|
|
|
|
|
|
|
CKV="$(get_version_component_range 1-3)"
|
|
|
|
K_SECURITY_UNSUPPORTED="yes"
|
|
|
|
K_DEBLOB_AVAILABLE="1"
|
|
|
|
RT_PATCHSET="${PV/*_p}"
|
|
|
|
|
|
|
|
inherit kernel-2
|
|
|
|
detect_version
|
|
|
|
|
|
|
|
K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
|
|
|
|
RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
|
2013-08-01 18:24:52 +04:00
|
|
|
RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
|
|
|
|
mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
|
2013-05-10 18:53:08 +04:00
|
|
|
|
|
|
|
DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
|
|
|
|
SRC_URI="${KERNEL_URI} ${RT_URI}"
|
|
|
|
|
|
|
|
KV_FULL="${PVR/_p/-rt}"
|
|
|
|
S="${WORKDIR}/linux-${KV_FULL}"
|
|
|
|
|
|
|
|
UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
|
|
|
|
UNIPATCH_STRICTORDER="yes"
|
|
|
|
|
|
|
|
pkg_postinst(){
|
|
|
|
|
|
|
|
ewarn
|
|
|
|
ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
|
|
|
|
ewarn "If you need support, please contact the RT project developers directly."
|
|
|
|
ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
|
|
|
|
ewarn "the ebuilds."
|
|
|
|
ewarn
|
|
|
|
}
|
|
|
|
|
|
|
|
K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
|
|
|
|
${HOMEPAGE}."
|