sys-kernel/zen-sources - 6.19.11 (gentoo)

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/pf-sources, sys-kernel/raspberrypi-sources, sys-kernel/rt-sources, sys-kernel/vanilla-kernel, sys-kernel/vanilla-sources

Install

Install this version:

emerge -a =sys-kernel/zen-sources-6.19.11

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

autounmask =sys-kernel/zen-sources-6.19.11

Or alternatively:

emerge --autounmask-write -a =sys-kernel/zen-sources-6.19.11

Package Information

Description:
The Zen Kernel Live Sources
Homepage:
https://github.com/zen-kernel

Ebuild Details

Version EAPI Keywords Slot
6.19.11 8 ~amd64 ~arm64 ~x86
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="8"
ETYPE="sources"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="10"
K_SECURITY_UNSUPPORTED="1"
K_NOSETEXTRAVERSION="1"
K_NODRYRUN="yes"

inherit kernel-2 unpacker
detect_version
detect_arch

DESCRIPTION="The Zen Kernel Live Sources"
HOMEPAGE="https://github.com/zen-kernel"

# Needed for zstd compression of the patch
BDEPEND="$(unpacker_src_uri_depends)"

ZEN_VER=1
ZEN_URI="https://github.com/zen-kernel/zen-kernel/releases/download/v${PV}-zen${ZEN_VER}/linux-v${PV}-zen${ZEN_VER}.patch.zst"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${ZEN_URI}"

KEYWORDS="~amd64 ~arm64 ~x86"

UNIPATCH_LIST="${WORKDIR}/linux-v${PV}-zen${ZEN_VER}.patch"
UNIPATCH_STRICTORDER="yes"
UNIPATCH_EXCLUDE="1810 2701"

K_EXTRAEINFO="For more info on zen-sources, and for how to report problems, see: \
${HOMEPAGE}, also go to #zen-sources on oftc"

src_unpack() {
	unpacker "linux-v${PV}-zen${ZEN_VER}.patch.zst"
	kernel-2_src_unpack
}

pkg_setup() {
	ewarn
	ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
	ewarn "If you need support, please contact the zen developers directly."
	ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
	ewarn "the ebuilds. Thank you."
	ewarn
	kernel-2_pkg_setup
}

src_prepare() {
	default
	kernel-2_src_prepare
}

src_install() {
	rm "${WORKDIR}/linux-v${PV}-zen${ZEN_VER}.patch" || die
	kernel-2_src_install
}

pkg_postrm() {
	kernel-2_pkg_postrm
}

Inherited Eclasses

Dependencies

BDEPEND

$(unpacker_src_uri_depends)