Package Details: linux-clear-bin 5.12.16.1054-1

Git Clone URL: https://aur.archlinux.org/linux-clear-bin.git (read-only, click to copy)
Package Base: linux-clear-bin
Description: Clear Linux kernel and modules in binary
Upstream URL: https://github.com/clearlinux-pkgs/linux
Licenses: GPL2
Provides: WIREGUARD-MODULE
Submitter: yw662
Maintainer: aorth
Last Packager: aorth
Votes: 8
Popularity: 0.031410
First Submitted: 2019-08-04 22:33
Last Updated: 2021-07-14 17:18

Dependencies (7)

Required by (5)

Sources (2)

Pinned Comments

aorth commented on 2020-04-09 07:01

Stock kernel parameters are saved in /boot/vmlinuz-linux-clear.cmdline. Although you may not need to apply all the parameters, you should copy most of these into your systemd-boot or GRUB configuration.

If you are using out-of-tree kernel modules with dkms you will need to add the module.sig_unenforce parameter to allow loading of unsigned kernel modules.

Please check the Clear Linux kernel releases on GitHub (not kernel.org) before flagging out of date here.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

lucasrizzini commented on 2020-04-10 22:56

Is there any wait to apply the futex-wait-multiple patch here?

aorth commented on 2020-04-09 07:01

Stock kernel parameters are saved in /boot/vmlinuz-linux-clear.cmdline. Although you may not need to apply all the parameters, you should copy most of these into your systemd-boot or GRUB configuration.

If you are using out-of-tree kernel modules with dkms you will need to add the module.sig_unenforce parameter to allow loading of unsigned kernel modules.

Please check the Clear Linux kernel releases on GitHub (not kernel.org) before flagging out of date here.

aorth commented on 2020-04-09 06:58

@MikeDee the instruction about copying parameters into linux-clear-bin.conf only applies if you're using systemd-boot, not GRUB. I haven't used GRUB in years, but the Arch wiki might help you figure out how to add kernel parameters to GRUB. Sorry I can't be more help.

MikeDee commented on 2020-04-08 21:09

I'm confused with the vmlinuz-linux-clear-bin.cmdline file. It installs to the /boot folder. That's a problem because Grub treats it as a kernel. Then, I read below that the contents of it should be copied into linux-clear-bin.conf. Where should this file go, since it doesn't exist on my system? Will vmlinuz-linux-clear-bin.cmdline execute if it's left in my /boot folder? Is this file even necessary, since it seems to boot fine without it anyways?

aorth commented on 2020-03-08 11:53

@metak yes you're right, this has been solved with the updated mkinitcpio. Thanks!

metak commented on 2020-03-08 10:47

I am not sure why this happens, but the kernel boots and runs fine. If it still happens in the next few kernel releases I will look at it more closely.

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

aorth commented on 2020-02-20 08:19

With 5.5.4.910-0 there is an error during the mkinitcpio stage of installation:

cp: cannot stat '(builtin)': No such file or directory

I am not sure why this happens, but the kernel boots and runs fine. If it still happens in the next few kernel releases I will look at it more closely.

aorth commented on 2020-02-13 07:12

@dedguy21 You need to copy the cmdline into the config entry. Here's what I use:

title Arch Linux (clear)
linux /vmlinuz-linux-clear-bin
initrd /intel-ucode.img
initrd /initramfs-linux-clear-bin.img
options luks.name=ffe04b78-49d8-356a-8f4a-aca518cdj2n1=vg0 luks.options=discard root=/dev/mapper/vg0-root quiet console=tty0 console=ttyS0,115200n8 cryptomgr.notests intel_iommu=igfx_off no_timer_check noreplace-smp page_alloc.shuffle=1 rcu_nocbs=0-64 rcupdate.rcu_expedited=1 rootfstype=ext4,btrfs,xfs tsc=reliable rw module.sig_unenforce

Note that you need to specify the intel-ucode before the general system initrd.

dedguy21 commented on 2020-02-13 01:31

@aorth

should we add vmzluz-linux-clear-bin.cmdline to systemd-boot linux-clear-bin.conf

as such:

  • 1 title Clear Linux

  • 2 linux /vmlinuz-linux-clear-bin

  • 3 linux /vmlinuz-linux-bin.cmdline *** guessing i would add it at this point

  • 4 initrd /intel-ucode.cpio

  • 5 initrd /initramfs-linux-clear-bin.img

aorth commented on 2020-02-12 17:01

@dedguy21 Yeah, you need to remove the old files before building. Unfortunately all Clear Linux's binary files have the same name for every update (pack-kernel-native-from-0.tar), so when you run makepkg it sees you already have it, and doesn't download a new one. Then of course the hash of the file doesn't match the one in the PKGBUILD.