Package Details: linux-clear-headers 6.14.8-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://git.staropensource.de/JeremyStarTM/aur-linux-clear
Keywords: clear clearlinux intel kernel linux
Licenses: GPL-2.0-only
Submitter: metak
Maintainer: JeremyStarTM
Last Packager: JeremyStarTM
Votes: 73
Popularity: 0.168911
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2025-05-22 19:12 (UTC)

Pinned Comments

JeremyStarTM commented on 2024-08-06 19:37 (UTC) (edited on 2025-04-16 14:17 (UTC) by JeremyStarTM)

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

Repository URL
This package is hosted at sos!git. If you want to contribute to the package, you can do it here: https://git.staropensource.de/JeremyStarTM/aur-linux-clear

Issue handling
Please only submit issues in the package's repository if they aren't bug reports about the package or help requests. Please keep them to the AUR only. This prevents unnecessary signups.

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.

PKGBUILD environment variable customization
The PKGBUILD file supports customization via environment variables. Here's a list of all of them:
- _makemenuconfig: Invokes make menuconfig (ncurses-based default configuration menu) before compilation starts
- _makenconfig: Invokes make nconfig (ncurses-based nicer configuration menu) before compilation starts
- _makexconfig: Invokes make xconfig (X11-based 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
- _optimize_defconfig: Applies package maintainer-picked configuration changes to your defconfig. Only takes effect with _use_current being enabled
- _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 open an issue
- _subarch: Specifies the subarchitecture to compile for (see the PKGBUILD file for a list of all subarches). Default is 41/MGENERIC_CPU (Generic x86-64), which is compatible with all amd64 processors. Must be a number or subarch name
- _subarch_microarch: Specifies the microarchitecture to compile for. Only applies to and is required by the MGENERIC_CPU subarch. Must be a number between 1 and 4 (click for more information)
- _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. For more information please check their documentation inside the PKGBUILD file

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 command only needs to be executed once.

Build tool
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 file in a simple manner and decrease build time. And if you don't want that, using makepkg as-is works fine too.

Latest Comments

« First ‹ Previous 1 .. 27 28 29 30 31 32 33 34 35 36 37 .. 52 Next › Last »

dedguy21 commented on 2019-11-04 18:51 (UTC)

@ metak Apologies for the possible noobie questions....

I have the linux-clear kernel in the /usr/lib/module folder.

1) How can I write the proper compressed image to the /boot folder 2) and the .preset files to the mkinitcpio.d folder

I used yay for installation, should I just git files and run make install?

metak commented on 2019-11-04 11:48 (UTC) (edited on 2019-11-04 14:35 (UTC) by metak)

@dedguy21 Hello. linux-clear package is the "main" kernel, it's the default kernel in clearlinux and clear team focuses the most on it. With that said, linux-clear-current is used mostly for testing purposes when kernel nears towards the latest release candidates (and first .0 release and .1 sometimes) then clear team rebase their patches and test this new kernel. These patches are then moved to linux-clear when everything seems ok. After that they don't update the linux-clear-current much, it's stuck on 5.3.1 and I expect it will get updated with 5.4rc7? I don't know. The kernel .config file is pretty much the same as they try to sync changes between their kernels, the exception being patch for exfat patch and some crypto modules that were introduced in linux-clear.

Yes, I'm maintaining both of them and as you can see they're two separate packages and neither is being abandoned. Use linux-clear and later in kernel development cycle if you want to test the latest rc then try linux-clear-current.

I follow stock arch's kernel way of packaging and those changes were brought by 5.3.8.1-1: Changes for new kmod and mkinitcpio hooks.

dedguy21 commented on 2019-11-04 00:00 (UTC) (edited on 2019-11-04 01:18 (UTC) by dedguy21)

First of all I wanted to say thanks for the Clear Linux packages. I always thought if you could marry their kernel with Arch you would have the perfect distro.

So wondering why does linux-clear package has a kernel number higher than linux-clear-current package?

And are you maintaining both packages separately? Or is one being abandoned for the other?

Also, when I install this package, I notice that there isn't an image for this created to the /boot or any .preset in mkinitcpio.d

I located the file in /usr/lib/module

...just wondering if this was done on purpose on your end.

Thanks again

tam1m commented on 2019-10-30 14:09 (UTC) (edited on 2019-10-30 14:09 (UTC) by tam1m)

@metak Ok I didn't know that /usr/lib/modules/<kernel>/build/.config existed. Copying it to another location seems unnecessary, especially since /usr/lib/kernel/.config would nowhere be mentioned in the "Arch World". CONFIG_IKCONFIG is at least enabled by default in arch's linux package. That's why I thought it would be nice to have it in linux-clear, too.

metak commented on 2019-10-30 13:55 (UTC)

@tam1m That's just a packaging difference. In arch kernel there's a copy of kernel config file in -headers package. /usr/lib/modules/<kernel>/build/.config
I can add a line that copies config file like it's in clearlinux package along with enabling ikconfig.

tam1m commented on 2019-10-30 13:41 (UTC) (edited on 2019-10-30 13:42 (UTC) by tam1m)

@metak Sounds good to me. Having it as a module should be enough. Also regarding this comment from the issue tracker, we don't have the /usr/lib/kernel file. At least I don't..

metak commented on 2019-10-30 12:27 (UTC)

@tam1m With next update I can enable CONFIG_IKCONFIG=m (as a module) and CONFIG_IKCONFIG_PROC=y? This was already brought up upstream on ClearLinux issue tracker and they decided not to enable it because not many people use this and it wastes more memory.

niklaszantner commented on 2019-10-30 12:10 (UTC)

@metak

You were right, thanks a lot!

tam1m commented on 2019-10-30 12:07 (UTC) (edited on 2019-10-30 12:07 (UTC) by tam1m)

I think it would be good to enable CONFIG_IKCONFIG_PROC/CONFIG_IKCONFIG by default. Is that something you would consider?

metak commented on 2019-10-30 11:24 (UTC)

@niklaszantner Do you have sha256 and sha512 modules listed in MODULES=() in /etc/mkinitcpio.conf? If you do, try removing them as they're built into the kernel.