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: 70
Popularity: 0.48
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-05-17 16:36 (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 .. 38 39 40 41 42 43 44 45 46 47 Next › Last »

simona commented on 2018-06-13 21:45 (UTC)

Now ok... Thanks :-)

metak commented on 2018-06-13 16:02 (UTC)

@Athemis Sorry about that, fixed now. I basically have three slightly different pkgbuild files to update (local, aur, and obs for binaries)... ;-)

Athemis commented on 2018-06-13 15:54 (UTC)

Thanks for keeping this up to date! However, 4.17.1 fails to compile for me, unless I change $_clearver to 27b762cf009a56fa47e00660d602f9db4b672ffb.

metak commented on 2018-06-08 17:45 (UTC) (edited on 2018-06-08 17:46 (UTC) by metak)

@gaougalos That's expected if you're building this kernel on top of the default arch kernel since all those config options are not present in default clear .config but are in stock arch.

gaougalos commented on 2018-06-08 17:24 (UTC)

When i enable localmodconfig it returns

==> Running Steven Rostedt's make localmodconfig now
using config: '.config'
acpi_call config not found!!
WARNING: LZ4_COMPRESS is required, but nothing in the
  current config selects it.
WARNING: LZ4_COMPRESS is required, but nothing in the
  current config selects it.
module mei did not have configs CONFIG_INTEL_MEI
module crct10dif_pclmul did not have configs CONFIG_CRYPTO_CRCT10DIF_PCLMUL
module input_leds did not have configs CONFIG_INPUT_LEDS
module mei_me did not have configs CONFIG_INTEL_MEI_ME
module joydev did not have configs CONFIG_INPUT_JOYDEV
module agpgart did not have configs CONFIG_AGP
module lz4 did not have configs CONFIG_CRYPTO_LZ4
module uas did not have configs CONFIG_USB_UAS
module algif_aead did not have configs CONFIG_CRYPTO_USER_API_AEAD
module iTCO_vendor_support did not have configs CONFIG_ITCO_WDT
module ghash_clmulni_intel did not have configs CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL
module lz4_compress did not have configs CONFIG_LZ4_COMPRESS
module intel_agp did not have configs CONFIG_AGP_INTEL
module iTCO_wdt did not have configs CONFIG_ITCO_WDT
module f2fs did not have configs CONFIG_F2FS_FS
module mac_hid did not have configs CONFIG_MAC_EMUMOUSEBTN
module crc32_pclmul did not have configs CONFIG_CRYPTO_CRC32_PCLMUL
module pcspkr did not have configs CONFIG_INPUT_PCSPKR
module crypto_user did not have configs CONFIG_CRYPTO_USER
module ax25 did not have configs CONFIG_AX25
module ath3k did not have configs CONFIG_BT_ATH3K
module mousedev did not have configs CONFIG_INPUT_MOUSEDEV

metak commented on 2018-06-05 13:38 (UTC)

As of 4.16.14-1 I've added kernel_gcc_optimizations patch. Disabled by default. Try and report any issues.

simona commented on 2018-05-08 16:56 (UTC)

make[1]: *** Nessuna regola per generare l'obiettivo "firmware/intel-ucode/06-4f-01", necessario per "firmware/intel-ucode/06-4f-01.gen.o". Arresto.

metak commented on 2018-05-07 19:46 (UTC) (edited on 2018-06-05 00:32 (UTC) by metak)

@Osleg Moved acpi_rev_override as a choice. As for those additional patches, I don't know, this kernel is meant for newer intel skylake processors...

Osleg commented on 2018-05-02 02:16 (UTC)

@metak I'm not sure it should be enabled by default as this is rarely used. Tho on the other hand vanilla kernel has it enabled so I don't know which approach would be better. imho tho providing prompts to enable/disable features like it happens in linux-ck, including the -mnative builds requested below would be the best option to allow every user to chose the options he needs the most.