Package Details: linux-clear-headers 6.11.6-0

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: 74
Popularity: 1.42
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-11-01 01:36 (UTC)

Pinned Comments

JeremyStarTM commented on 2024-10-29 18:56 (UTC) (edited on 2024-10-29 18:56 (UTC) by JeremyStarTM)

Important proposal
I am currently thinking about moving this package to my Forgejo (self-hostable git forge) instance at https://git.staropensource.de and creating a push mirror to the AUR, pushing changes to the AUR around every hour. Issue requests will be enabled except for bug reports and help requests to avoid people needing to create another account just for one package if they need help.

I would like to get some feedback on this proposal before actually moving the package over.

JeremyStarTM commented on 2024-08-06 19:37 (UTC) (edited on 2024-10-16 20:19 (UTC) by JeremyStarTM)

Information comment
This comment provides useful information about this package. Make sure to read it through, you won't regret it.

Updates
I usually publish updates 0-3 days after a kernel release, depending on how busy I am.
If I however get wind of security-relevant updates or any vulnerabilities I will try to update the kernel as soon as possible and write a comment about the vulnerability/update. So make sure to subscribe to this package's comment mailing list.

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. See their descriptions for more information.

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.

GPG errors
If makepkg complains about invalid PGP keys, try running this command first: gpg --locate-keys torvalds@kernel.org gregkh@kernel.org sashal@kernel.org benh@debian.org. This only needs to be done once.

Latest Comments

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

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?

metak commented on 2018-07-08 17:52 (UTC) (edited on 2018-07-08 20:35 (UTC) by metak)

@big_bun Sorry for late reply, I've been busy. I really don't want to deviate too much from default upstream. (only when needed to comply with archlinux packaging for example)