Package Details: linux-clear-headers 6.10.10-1

Git Clone URL: https://aur.archlinux.org/linux-clear.git (read-only, click to copy)
Package Base: linux-clear
Description: Linux kernel with patches from Clear Linux which allow for higher performance. This package includes header files and scripts for building kernel modules.
Upstream URL: https://github.com/clearlinux-pkgs/linux
Keywords: clear clearlinux intel kernel
Licenses: GPL-2.0-only
Submitter: metak
Maintainer: JeremyStarTM
Last Packager: JeremyStarTM
Votes: 73
Popularity: 1.74
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-09-14 15:49 (UTC)

Pinned Comments

JeremyStarTM commented on 2024-08-06 19:37 (UTC) (edited on 2024-08-18 08:22 (UTC) by JeremyStarTM)

The PKGBUILD supports customization via environment variables. Here's a list of all of them:
_makemenuconfig: Invokes make menuconfig (default configuration menu) before compilation starts
_makenconfig: Invokes make nconfig (nicer configuration menu) before compilation starts
_makexconfig: Invokes make xconfig (GUI configuration menu) before compilation starts
_use_current: Will use the configuration of the running kernel, if the running kernel is compiled with IKCONFIG_PROC
_copyfinalconfig: Copies the final kernel configuration into the repository root as kconfig-new before compilation starts
_localmodcfg: Only compiles modules found in modprobed-db's database (which decreases compilation time and kernel size)
_use_llvm_lto: Compiles the kernel with LLVM instead of GCC. Should work, if not write a comment
_subarch: Specifies the sub architecture to compile for (see the PKGBUILD file for a list of all subarches). Default is 40 (Generic-x86-64), which is \compatible with all amd64 processors. Must be a number
_debug: Force enables debug options when set to y, force disables debug options when set to n or uses the config defaults when unset

All of these variables just need to be set for them to apply, except for _subarch and _debug.

If you want a dead simple way to compile this package, you can try out my build tool. It includes a few no nonsense changes to the kernel configuration and allows you to configure the PKGBUILD in a simple manner and decrease build time. And if you don't want that, using makepkg as-is works fine too.

JeremyStarTM commented on 2024-08-06 19:19 (UTC) (edited on 2024-08-06 19:40 (UTC) by JeremyStarTM)

Kernel has been updated and is now maintained again.

Thank you metak for creating this package in the first place.

Latest Comments

« First ‹ Previous 1 .. 37 38 39 40 41 42 43 44 45 46 47 .. 49 Next › Last »

metak commented on 2018-08-23 15:46 (UTC) (edited on 2018-08-23 15:48 (UTC) by metak)

@enihcam If others don't disagree then I'll drop linux-clear-docs package in aur (next update), but I'll leave it in my repo build so if anyone needs it they can still get it there. Is this okay?

enihcam commented on 2018-08-23 10:04 (UTC) (edited on 2018-08-23 13:43 (UTC) by enihcam)

@metak, can you set python-sphinx and graphviz as optional dependencies? They are only needed by linux-clear-docs.

Or can you split linux-clear-docs out? like linux-ck. Very few people read local docs.

linux-clear is running in my router and NAS. python-sphinx and graphviz would bring too many unnecessary dependencies.

Thanks!

metak commented on 2018-08-06 18:31 (UTC)

@airend Thanx. That's the best way really. If the clear team are willing to enable something then it's easier for me since I don't have to change/patch anything. Your requested changes are now available with latest update.

airend commented on 2018-08-04 03:13 (UTC)

@metak, done in https://github.com/clearlinux/distribution/issues/135.

metak commented on 2018-08-03 14:38 (UTC) (edited on 2018-08-03 14:41 (UTC) by metak)

Update 2018-08-03 Update your boot parameter line. modprobe.blacklist and i915.fastboot were removed. (The pinned comment is updated version.)

@airend Could your please ask first over at https://github.com/clearlinux/distribution/issues if they would be willing to enable that by default in clr kernel?

airend commented on 2018-07-31 10:23 (UTC)

Is it possible to enable Zswap support (CONFIG_ZSWAP, CONFIG_ZPOOL, CONFIG_ZBUD, CONFIG_Z3FOLD, CONFIG_FRONTSWAP) and CONFIG_CLEANCACHE, like Arch kernels?

metak commented on 2018-07-30 11:51 (UTC)

@Enverex I think it's best to leave it like it is now (taken from linux-ck package and graysky2 patch). By default the _subarch is empty and it will detect/enable optimizations for your cpu family.
The binary in my repo is built with generic_cpu optimizations. You could create a script or something?

#!/bin/bash

git checkout PKGBUILD
git pull
sed -i 's|^_subarch.*|_subarch=27|' PKGBUILD
makepkg -Ccrs

Enverex commented on 2018-07-30 11:04 (UTC)

Any chance of making CONFIG_MNATIVE the default (rather than CONFIG_MCORE2) or having some way of enabling it without having to manually edit the PKGBUILD? (e.g. so that the package can be updated and keep this setting without manual intervention).

metak commented on 2018-07-19 15:43 (UTC)

@enihcam I don't mind at all, but I hope it won't be flagged out-of-date again if it's not following kernel.org releases. ;-)

enihcam commented on 2018-07-19 14:25 (UTC)

@metak again, this package is great. people using this package should vote for it. :)

this is only a suggestion. Personally i think it might be too frequent for compiling the kernel because the rapidly increasing version. i think it might be good to slow down a little bit.

Rather than watching www.kernel.org, maybe you want to release a version only when this RSS is updated: https://github.com/clearlinux-pkgs/linux/releases.atom

what do you think?