Does not build for me, using localmodconfig=y.
patching file virt/kvm/kvm_main.c ==> FEHLER: Ein Fehler geschah in prepare(). Breche ab...
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.51 |
First Submitted: | 2018-01-18 21:47 (UTC) |
Last Updated: | 2024-04-18 17:48 (UTC) |
« First ‹ Previous 1 .. 14 15 16 17 18 19 20 21 22 23 24 .. 47 Next › Last »
Does not build for me, using localmodconfig=y.
patching file virt/kvm/kvm_main.c ==> FEHLER: Ein Fehler geschah in prepare(). Breche ab...
@metak Oh, thank you! Perfectly works with makepkg...
@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.
@metak I tried to set _localmodcfg=y and nothing changed. Here is my log: https://pastebin.com/n1nBng7S
@andsmir You'll have to provide more information than that, specially what happens in the prepare() section. Also, it's enough to just set _localmodcfg=y
.
Seems that usage of modprobedb database is currently broken. It worked at 5.6, as I remember.
188 modules are in /home/user/.config/modprobed.db
_localmodcfg=$HOME/.config/modprobed.db
find /lib/modules/5.7.5-1-clear/ -type f | wc -l
3295
If you are having problems installing nvidia 440.84 dkms with CL kernel, read this: https://github.com/clearlinux/distribution/issues/1994
What are the odds you add the add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch to this baby?
@metak: also, _gcc_more_v can be bumped to 20200428.
If you use nvidia-dkms
, then you must configure SECTION_MISMATCH_WARN_ONLY
(Kernel hacking -> Compile-time checks and compiler options -> Make section mismatch errors non-fatal) because somehow there's a mismatch problem in the NVIDIA driver, somehow.
Also, GCC 10 is missing GCC plugins support for some reason; I guess it would be fixed by upstream soon.
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._subarch
Enable additional optimization/tuning for kernel builds by adding more micro-architectures options. Default isGeneric-x86-64
number36
if nothing else is selected._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
Enabley
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/
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: