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 .. 18 19 20 21 22 23 24 25 26 27 28 .. 49 Next › Last »

metak commented on 2020-04-30 13:52 (UTC)

@AliTajelsir Hi. You can ignore that warning. https://wiki.archlinux.org/index.php/Makepkg#WARNING:_Package_contains_reference_to_$srcdir
objtool file contains some path references to where the package was built. Regular arch kernel should have that too.

alitajelsir commented on 2020-04-30 07:08 (UTC)

I am getting the following warning while building:

==> WARNING: Package contains reference to $srcdir
usr/lib/modules/5.6.8-1-clear/build/tools/objtool/objtool

bwbuhse commented on 2020-04-29 21:58 (UTC)

@metak Wow thanks! For some reason I had most of base-devel but not flex or bison. I must have messed something up when I was installing Arch and just not needed flex until now. That fixed it though, thank you :)

metak commented on 2020-04-29 21:51 (UTC)

@bwbuhse Hi. If you want to build packages from AUR you have to have base-devel group installed. flex is in there.

bwbuhse commented on 2020-04-29 21:41 (UTC)

I'm having an error while trying to install this (using yay).

Hunk #2 succeeded at 4867 (offset 104 lines).
Setting config...
Enable extra stuff from arch kernel...
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
/bin/sh: flex: command not found
make[1]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make: *** [Makefile:568: olddefconfig] Error 2
==> ERROR: A failure occurred in prepare().
    Aborting...

Any ideas?

dedguy21 commented on 2020-04-27 00:22 (UTC) (edited on 2020-04-27 00:23 (UTC) by dedguy21)

Nvidia-dkms 1) make sure to create a blacklist.conf in you're /etc/modprobe.d/ folder

2) blacklist nouveau blacklist nvidia.fb (this is actually a nouvea driver misabled so it has to be blacklisted)

3) beyond that make sure You include the command lines for Linux clear in your boot script. And For love of God if you're stil using grab switch to systed-boot

idimitro commented on 2020-04-27 00:14 (UTC)

Hi, is anybody using the proprietary Nvidia drivers with this kernel? I guess I will need the dkms version. Any problems, tips/tricks, hints for using the kernel it NVIDIA blob? Thanks.

metak commented on 2020-04-18 09:51 (UTC)

@vivaeltopo It's an issue in mkinitcpio which I already reported. https://bugs.archlinux.org/task/65725

vivaeltopo commented on 2020-04-18 09:26 (UTC) (edited on 2020-04-18 09:26 (UTC) by vivaeltopo)

I am getting this warning while creating the fallback image.

>> mkinitcpio -v -p linux-clear
[...]
    adding file: /usr/lib/libreiserfscore.so.0
    adding file: /usr/bin/fsck.vfat
    adding file: /usr/bin/fsck.xfs
    adding file: /usr/sbin/fsck
cp: cannot stat '(builtin)': No such file or directory
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-clear-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.