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.57
First Submitted: 2018-01-18 21:47 (UTC)
Last Updated: 2024-04-18 17:48 (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 .. 5 6 7 8 9 10 11 12 13 14 15 .. 47 Next › Last »

d00d00 commented on 2021-12-09 00:21 (UTC) (edited on 2021-12-09 00:30 (UTC) by d00d00)

Hello! Would it be possible for you to add the KSMBD module to the default build for this kernel? It's a kernel-level SMB daemon that works really well on lighter-weight NAS machines and whatnot. It requires these configuration changes to be added to the PKGBUILD (assuming SMB Direct is desired):

# KSMBD
scripts/config --module SMB_SERVER \
--enable SMB_SERVER_SMBDIRECT

And it requires KSMBD-MODULE to be added to provides(). Sorry if this is too niche a request, and thank you for your work maintaining this package.

metak commented on 2021-12-01 12:43 (UTC) (edited on 2021-12-01 12:43 (UTC) by metak)

@mizzunet .cmdline file is meant for systemd-boot loader, but kernel should boot just fine without any modifications to cmd boot line.
If you're using GRUB then after installing this package you should only have to regerate grub.cfg file. See: 1 2

mizzunet commented on 2021-11-27 12:41 (UTC)

I'm having this error message for boot entry Arch Linux, with Linux linux-clear-bin.cmdline I do have another boot entry regarding clear, Arch Linux, with Linux linux-clear-bin which can be booted into.

Loading Linux linux
Error: premature end of file /vmlinuz-linux-clear-bin.cmdline
Loading initial ramdisk
Error: you need to load the kernel first
Press a key to continue

I have adjusted cmd boot line as pinned comment, that is

GRUB_CMDLINE_LINUX="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"

then had executed sudo grub-mkconfig -o /boot/grub/grub.cfg

Saltyming commented on 2021-11-10 23:44 (UTC)

@metak It worked. Thanks^^

tam1m commented on 2021-11-10 18:34 (UTC)

@metak Awesome, thanks!

metak commented on 2021-11-10 18:07 (UTC)

@tam1m NTFS3 module enabled in 5.15.1-2. The default config comes from clear team and it's not enabled in there by default, don't know why exactly.

@FiestaLake Can you try the latest update?

Saltyming commented on 2021-11-10 16:09 (UTC) (edited on 2021-11-10 16:30 (UTC) by Saltyming)

https://bugs.archlinux.org/task/72678

tam1m commented on 2021-11-10 14:48 (UTC)

@metak Would you mind setting

NTFS3_FS=y
NTFS3_LZX_XPRESS=y
NTFS3_FS_POSIX_ACL=y

by default? Is there a specific reason NTFS3 is not enabled?

xuanruiqi commented on 2021-10-18 12:26 (UTC)

@metak Much thanks!

metak commented on 2021-10-17 21:33 (UTC)

@xuanruiqi Thanks for pointing it out. I did applied those chnages in 5.7.2-1, but for some reason I removed them in subsequent commit? I'll add them back again and see.