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.71
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 .. 15 16 17 18 19 20 21 22 23 24 25 .. 49 Next › Last »

enihcam commented on 2020-08-29 14:55 (UTC)

Thanks, metak!

metak commented on 2020-08-29 13:43 (UTC)

@enihcam Change urls, remove patches and configs added in this package that you don't need. Comment out the Patch0129 otherwise the build will fail.

enihcam commented on 2020-08-29 13:28 (UTC)

@metak, I need patches from https://github.com/clearlinux-pkgs/linux-hyperv instead. Can I just grab your PKGBUILD and change few URLs? what else should I change?

metak commented on 2020-08-19 15:46 (UTC)

@Gonzo2028 Works fine on my end. Please try building with makepkg instead of aur helpers and clean your build directory first.

@Tjuh Well that's up to clear team to update first. The -current & -preempt-rt are both updated to latest clear versions 5.8.0.rc7 & 5.6.19.rt11 - upstream.
5.9rc1 was released and clear team will probably update their -current soon to it.

Tjuh commented on 2020-08-19 14:56 (UTC)

Plese update current and preempt-rt versions.

Tjuh commented on 2020-08-19 14:56 (UTC)

Plese update current and preempt-rt versions.

Gonzo2028 commented on 2020-08-16 18:31 (UTC)

Does not build for me, using localmodconfig=y.

patching file virt/kvm/kvm_main.c ==> FEHLER: Ein Fehler geschah in prepare(). Breche ab...

andsmir commented on 2020-06-26 08:17 (UTC)

@metak Oh, thank you! Perfectly works with makepkg...

metak commented on 2020-06-25 14:47 (UTC)

@andsmir Looks like _localmodcfg is not applying in your build... I just tried it again on my pc and it works as it should. Modified _localmodcfg to "y" in PKGBUILD file and built with makepkg. If you're using any aur helper, please try building with makepkg.

andsmir commented on 2020-06-25 06:54 (UTC)

@metak I tried to set _localmodcfg=y and nothing changed. Here is my log: https://pastebin.com/n1nBng7S