Package Details: linux-clear-headers 6.10.7-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: 72
Popularity: 1.13
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-08-31 11:48 (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 .. 43 44 45 46 47 48 49 Next › Last »

metak commented on 2018-01-26 04:46 (UTC)

@ahjolinna nvidia? Sorry, but no. Never had/used any nvidia cards so I wouldn't be able to test anything.

"dm_cache & dm_cache_smq"? I answered this one in my first comment below. It's not enabled by default. It's marked as experimental in kernel.

Here's a patch you can try that enables it. Add it to sources in pkgbuild file and rebuild the package.

https://pastebin.com/dDuzv2ux

ahjolinna commented on 2018-01-26 01:52 (UTC)

why isn't the "dm_cache & dm_cache_smq" enabled in the kernel conf?, as I get module not found error

ahjolinna commented on 2018-01-25 16:34 (UTC)

@metak: btw. is it possible you could add the nvidia driver to repo so there wouldn't be any need to compile them...at least an aur version

ahjolinna commented on 2018-01-25 16:25 (UTC) (edited on 2018-01-25 16:34 (UTC) by ahjolinna)

it seems I have to use a workaround for this problem; by adding "SigLevel = Never" ...not the best solution but it works so I'm happy

about the "intel-ucode" thing, I didnt know/notice as I have skylake cpu so thankfully it hasn't affected me

metak commented on 2018-01-25 16:02 (UTC)

@ahjolinna I can't help with the repo since that is the limitation with archlinux support in opensuse build service. I reported that issue years ago. ;-) https://github.com/openSUSE/obs-build/issues/129 https://github.com/openSUSE/obs-build/issues/319 Basically, build service rebuilds packages even when that's not actually necessary and thus pkgver-pkgrel don't change but the package is now 'corrupt'. It's safe to just install it with pacman -U. Although, this kernel builds fast even on my old machine.

As for "intel-ucode", there's a bug opened, known issues, debian and redhat also reverted to that older version, and intel removed the 20180108 tarball from their site. https://bugs.archlinux.org/task/57067?project=1&string=intel-ucode

ahjolinna commented on 2018-01-25 15:22 (UTC) (edited on 2018-01-25 15:25 (UTC) by ahjolinna)

I think your repo is "broken" ...at least repo key (Remote key not fetched correctly from keyserver.) and same goes with the pkgs, I get "invalid or corrupted package (PGP signature)" when I tried to install them directly

PS. is there a reason why you are using the older "intel-ucode" pkgs compare to whats is in arch repos?

metak commented on 2018-01-22 01:49 (UTC) (edited on 2021-12-01 12:47 (UTC) by metak)

1. Binaries available in my repo: http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/x86_64/
[home_metakcahura_kernel_Arch_Extra_standard]
SigLevel = Never
Server = http://download.opensuse.org/repositories/home:/metakcahura:/kernel/Arch_Extra_standard/$arch
THIS IS OPTIONAL:
2. After install adjust your boot cmd line. ClearLinux uses clr-boot-manager which takes care of that. This is upstream default:
quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests initcall_debug intel_iommu=igfx_off kvm-intel.nested=1 no_timer_check noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs,f2fs tsc=reliable rw 

metak commented on 2018-01-22 01:20 (UTC)

@OneObsession Sorry about that, copy/pasta wrong pkgbuild file. Fixed, but I didn't bumped the pkgrel.

OneObsession commented on 2018-01-20 11:42 (UTC)

Hi,

is there a reason why you changed "make ${MAKEFLAGS} LOCALVERSION= bzImage modules" to "make ARCH=x86_64 LOCALVERSION= CONFIG_DEBUG_SECTION_MISMATCH=y ${MAKEFLAGS}"? I think bzImage and modules should be kept.

metak commented on 2018-01-19 17:57 (UTC)

It's not enabled in this kernel.

CONFIG_DM_CACHE is not set

https://github.com/clearlinux-pkgs/linux/blob/2b74305ca208db647bc7ff1e1d4e64b337195975/config#L1939