diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-04 15:44:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-04 15:44:55 +0000 |
commit | 48e5d840399f4884b7acabb42384f16deb9ea3a8 (patch) | |
tree | 74a994dee50b4941b62fe240b12a49f7849659eb /packages/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.65.exheres-0 | |
parent | c45a7830db68e3deec5bf43e78c048f06c43bf7b (diff) |
* version bump to v4.14.75
* adjust MuQSS v0.162 CPU scheduler to linux-hardened and enable it by default
* add BFQ-SQ v8r12 I/O scheduler and enable it by default
* lower HZ to 100 (recommended value for MuQSS enabled kernels)
* disable dynamic ticks (MuQSS itself is a tickless scheduler, so no longer required)
Diffstat (limited to 'packages/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.65.exheres-0')
-rw-r--r-- | packages/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.65.exheres-0 | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/packages/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.65.exheres-0 b/packages/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.65.exheres-0 deleted file mode 100644 index d085454..0000000 --- a/packages/sys-kernel/linux-sources-redcore-lts/linux-sources-redcore-lts-4.14.65.exheres-0 +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2018 Redcore Linux Project -# Distributed under the terms of the GNU General Public License v2 - -SUMMARY="Redcore Linux Project LTS Kernel Sources" -DESCRIPTION="Redcore Linux Project LTS Kernel Sources" -HOMEPAGE="https://redcorelinux.org" - -DOWNLOADS="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz" - -LICENCES="GPL-2" -SLOT="${PV}" -PLATFORMS="~amd64" - -EXTRAVERSION="redcore-lts" -KV_FULL=""${PV}"-"${EXTRAVERSION}"" - -MYOPTIONS="" - -DEPENDENCIES=" - build: - app-arch/xz - sys-apps/bc - sys-devel/make -" - -DEFAULT_SRC_PREPARE_PATCHES=( - "${FILES}"/introduce-NUMA-identity-node-sched-domain.patch - "${FILES}"/k10temp-add-ZEN-support.patch - "${FILES}"/mute-pps_state_mismatch.patch - "${FILES}"/restore-SD_PREFER_SIBLING-on-MC-domains.patch - "${FILES}"/Revert-ath10k-activate-user-space-firmware-loading.patch - "${FILES}"/linux-hardened.patch - "${FILES}"/uksm-for-linux-hardened.patch - "${FILES}"/0015-Enable-BFQ-io-scheduler-by-default.patch - # allow kernel to be built via exheres - "${FILES}"/linux-pkg-config.patch - "${FILES}"/linux-objtool-dont-hardcore-ar.patch -) - -WORK="${WORKBASE}"/linux-"${PV}" - -pkg_setup() { - export KBUILD_BUILD_USER="nexus" - export KBUILD_BUILD_HOST="nexus.redcorelinux.org" - - export REAL_ARCH="$ARCH" - unset ARCH ; unset LDFLAGS #will interfere with Makefile if set -} - -src_prepare() { - default - - src_prepare_params=( - CC="${CC}" - HOSTCC="${CC}" - ) - - edo emake \ - "${src_prepare_params[@]}" \ - mrproper - - edo sed -ri "s|^(EXTRAVERSION =).*|\1 -${EXTRAVERSION}|" Makefile - edo cp "${FILES}"/"${EXTRAVERSION}"-amd64.config .config -} - -src_compile() { - src_compile_params=( - AR="${AR}" - AS="${AS}" - CC="${CC}" - HOSTCC="${CC}" - HOSTLD="${LD}" - LD="${LD}" - NM="${NM}" - OBJCOPY="${OBJCOPY}" - OBJDUMP="${OBJDUMP}" - ) - - edo emake \ - "${src_compile_params[@]}" \ - prepare modules_prepare -} - -src_install() { - dodir /usr/src/linux-"${KV_FULL}" - edo cp -ax "${WORK}"/* "${IMAGE}"usr/src/linux-"${KV_FULL}" -} - -_kernel_sources_delete() { - rm -rf "${ROOT}"usr/src/linux-"${KV_FULL}" -} - -pkg_postrm() { - _kernel_sources_delete -} |