sys-kernel/neptune-kernel - 7.2.4.1 (bell07)

Search

Notice: This package is in a virtual group: virtual/linux-sources
Equivalents: sys-kernel/asahi-sources, sys-kernel/gentoo-kernel, sys-kernel/gentoo-kernel-bin, sys-kernel/gentoo-sources, sys-kernel/git-sources, sys-kernel/linux-firmware, sys-kernel/linux-next, sys-kernel/mips-sources, sys-kernel/neptune-sources, sys-kernel/pf-sources, sys-kernel/raspberrypi-kernel, sys-kernel/raspberrypi-sources, sys-kernel/rt-sources, sys-kernel/vanilla-kernel, sys-kernel/vanilla-sources, sys-kernel/zen-sources

Install

Install this version:

emerge -a =sys-kernel/neptune-kernel-7.2.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-kernel/neptune-kernel-7.2.4.1

Or alternatively:

emerge --autounmask-write -a =sys-kernel/neptune-kernel-7.2.4.1

Package Information

Description:
Valve SteamOS kernel with Gentoo patches
Homepage:
https://github.com/evlaV/linux-integration

Ebuild Details

Version EAPI Keywords Slot
7.2.4.1 8 -* ~amd64
View Raw Ebuild
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

KERNEL_IUSE_GENERIC_UKI=1
inherit kernel-build toolchain-funcs

DEVICE_ARCH=${CHOST%%-*}

PATCHSET_VER="7.1"
PATCHSET=linux-gentoo-patches-"${PATCHSET_VER}".9

KERNELVERSION="${PV%.*}"
VALVEVERSION="${PV##*.}"

CONFIGVERSION="${KERNELVERSION%.*}"
CONFIG_VER="${CONFIGVERSION//./}"
CONFIG_COMMIT="c41b9f0c071307b397aacb20f8379653e7bcc5a6"

DESCRIPTION="Valve SteamOS kernel with Gentoo patches"
HOMEPAGE="https://github.com/evlaV/linux-integration"

SRC_URI+="
	https://github.com/evlaV/linux-integration/archive/refs/tags/${KERNELVERSION}-valve${VALVEVERSION}.zip -> linux-neptune-${PV}.zip
	https://distfiles.gentoo.org/pub/proj/dist-kernel/patchsets/${PATCHSET_VER}/${PATCHSET}.tar.xz
	https://raw.githubusercontent.com/evlaV/jupiter/${CONFIG_COMMIT}/linux-neptune-${CONFIG_VER}/config-neptune -> config-neptune-${CONFIG_VER}-${CONFIG_COMMIT}
	https://raw.githubusercontent.com/evlaV/jupiter/${CONFIG_COMMIT}/linux-neptune-${CONFIG_VER}/config.${DEVICE_ARCH} -> config.${DEVICE_ARCH}-${CONFIG_VER}-${CONFIG_COMMIT}
"
RESTRICT="nomirror"
S="${WORKDIR}"/linux-integration-"${KERNELVERSION}"-valve"${VALVEVERSION}"

KEYWORDS="-* ~amd64"
IUSE="debug"

BDEPEND="
	debug? ( dev-util/pahole )
"

QA_FLAGS_IGNORED="
	usr/src/linux-.*/certs/*.so
	usr/src/linux-.*/scripts/gcc-plugins/.*.so
	usr/src/linux-.*/vmlinux
"

src_prepare() {
	eapply "${WORKDIR}/${PATCHSET}"

	default

	# add Extraversion
	local extraversion=."${VALVEVERSION}"-neptune-gentoo-dist
	sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die

	# Enable default config
	cp "${DISTDIR}/config.${DEVICE_ARCH}-${CONFIG_VER}-${CONFIG_COMMIT}" .config  || die
	cat "${DISTDIR}/config-neptune-${CONFIG_VER}-${CONFIG_COMMIT}" >> .config || die

	echo "CONFIG_LOCALVERSION=\"-gentoo-dist\"" > "${T}"/version.config || die

	kernel-build_merge_configs
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-kernel/neptune-kernel | euse -E <flag> -p sys-kernel/neptune-kernel | euse -D <flag> -p sys-kernel/neptune-kernel

Global/Standard Flags

Inherited Eclasses

Dependencies

BDEPEND

	debug? ( dev-util/pahole )

Manifest for 7.2.4.1

Type File Size Source URLs
DIST config-neptune-72-c41b9f0c071307b397aacb20f8379653e7bcc5a6 3908 bytes https://raw.githubusercontent.com/evlaV/jupiter/c41b9f0c071307b397aacb20f8379653e7bcc5a6/linux-neptune-72/config-neptune
DIST linux-neptune-7.2.4.1.zip 328243117 bytes https://github.com/evlaV/linux-integration/archive/refs/tags/7.2.4-valve1.zip