Package Base Details: linux-clear

Git Clone URL: https://aur.archlinux.org/linux-clear.git (read-only, click to copy)
Keywords: clear clearlinux intel kernel
Submitter: metak
Maintainer: metak
Last Packager: metak
Votes: 71
Popularity: 1.81
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-04-13 16:57 (UTC)

Pinned Comments

metak commented on 2022-03-27 13:44 (UTC) (edited on 2022-04-02 13:20 (UTC) by metak)

The PKGBUILD file supports a few different configurable build-time options:
  • _makenconfig Tweak kernel options prior to a build via nconfig. Pseudo-graphical menu based on ncurses. 1 2
  • _localmodcfg Only compile active modules to VASTLY reduce the number of modules built and the build time.
  • Please read arch wiki page for detailed explanation on how to use it.
  • _subarch Enable additional optimization/tuning for kernel builds by adding more micro-architectures options. Default is Generic-x86-64 number 36 if nothing else is selected.
  • PKGBUILD file with the list of architectures
  • graysky kernel_compiler_patch
  • _use_current Use the current kernel's .config file. Enabling this option will use the .config of the RUNNING kernel rather than the ARCH defaults. Useful when the package gets updated and you already went through the trouble of customizing your config options. NOT recommended when a new kernel is released, but again, convenient for package bumps.
  • _use_llvm_lto Compile the kernel with LLVM/Clang.
  • _debug Enable y some additional debug features present in arch kernel, but not in Clear upstream. n to force disable or leave empty to ignore.
Lastly, build the kernel by setting your environment variable env _subarch=40 _localmodcfg=y.

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 

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 47 Next › Last »

metak commented on 2021-06-11 08:28 (UTC)

@PedroDePacas Version 20210606 was removed because of the broken patch for kernel versions 4.19-5.4. Fixed now.

PedroDePacas commented on 2021-06-11 07:00 (UTC) (edited on 2021-06-11 08:02 (UTC) by PedroDePacas)

@metak Hi. I'm getting this error:

Failure while downloading https://github.com/graysky2/kernel_compiler_patch/archive/20210606.tar.gz`

How can I fix it?

Khaithang commented on 2021-06-08 16:58 (UTC)

@metak, thanks, that was the case. Apparently 3G proved a bit low!. though i did check the usage and it stop while 250-300M was still available. and why the heck was i even using ram, my nvme SSD seems to be faster then that. thanks again for the tip.

metak commented on 2021-06-07 14:33 (UTC)

@Khaithang Have you tried compiling on SSD/HD instread of in RAM to check you're not running out of space? BUILDDIR=/tmp/makepkg

Khaithang commented on 2021-06-06 20:29 (UTC) (edited on 2021-06-08 17:00 (UTC) by Khaithang)

i am getting a build error! few excerpt from the build log:

ZSTD22  arch/x86/boot/compressed/vmlinux.bin.zst   
make[2]: *** [arch/x86/boot/compressed/Makefile:135: 
arch/x86/boot/compressed/vmlinux.bin.zst] Error 137
make[2]: *** Deleting file 'arch/x86/boot/compressed/vmlinux.bin.zst'
make[2]: *** Waiting for unfinished jobs....
GEN     Module.symvers
.
.
.   
make[1]: *** [arch/x86/boot/Makefile:115: arch/x86/boot/compressed/vmlinux] Error 2
make: *** [arch/x86/Makefile:302: bzImage] Error 2
make: *** Waiting for unfinished jobs....

then after almost finishing the build, it fails with this:

==> ERROR: A failure occurred in build().
 Aborting...

Here's the full log, most seems normal apart what i already pointed out above. Sorry, i don't which parts are important so adding the whole log, the log file is pretty long. log : http://ix.io/3oYF

some guys pointed that the issue is with makepkg/file not able to extract simple xz compressed file, this is in regards to the linux-ck package, and downgrading file to 5.39 seems to fix it for them. I downgraded it but the issue persist! Do let me know if i need to attach makepkg.conf as well.

EDIT: anyway i am attaching my makepkg.conf as well -> http://ix.io/3oYL

oddpuck commented on 2021-06-04 19:58 (UTC)

Thanks!

metak commented on 2021-06-04 19:49 (UTC)

@oddpuck There's no separate option for Comet Lake, you should use skylake.

oddpuck commented on 2021-06-04 18:20 (UTC)

First, thanks for making this package. Why is Intel Comet Lake not an option when it asks you to select processor family during build?

metak commented on 2021-05-02 10:05 (UTC)

@amoka That part in prepare() needs some cleaning up...

amoka commented on 2021-05-02 01:43 (UTC)

Can you please explain a little more about the following (line 227)?

### do not run `make olddefconfig` as it sets default options
    yes "" | make config >/dev/null

Since we run make olddefconfig before that too (line 179)

Thanks in advance!