Package Details: linux-clear-bin

Git Clone URL: (read-only, click to copy)
Package Base: linux-clear-bin
Description: Clear Linux kernel and modules in binary
Upstream URL:
Licenses: GPL2
Submitter: yw662
Maintainer: aorth
Last Packager: aorth
Votes: 4
Popularity: 0.44
First Submitted: 2019-08-04 22:33
Last Updated: 2020-02-17 19:25

Dependencies (7)

Required by (2)

Sources (2)

Pinned Comments

yw662 commented on 2019-08-04 22:55

Do not forget the module.sig_unenforce parameter. Stock parameters are saved in /boot/vmlinuz-linux-clear.cmdline, although you may not need to apply all the parameters.

Latest Comments

1 2 Next › Last »

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.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


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.

dedguy21 commented on 2020-02-12 16:38

Update: removing the old folder and doing a fresh clone resolved the issue. Just wondering why a pull request isn't working to update?

Hi sorry for not posting that here what I get:

Making package: linux-clear-bin Checking, retrieve, found (no issues) ...

Validating source files with sha256sums... Manifest.kernek-native ... Failed Pack-kernel-native-from-0.tar ... Failed

Error: One or more files did not pass the validity check

What I plan to do next is rm the linux-clear-bin git download and just start fresh instead of just running an update if it works I will update.

aorth commented on 2020-02-12 10:49

@dedguy21 Can please post the actual error you are getting? The package builds and installs fine for me. I'm currently booted to the kernel so it definitely works.

dedguy21 commented on 2020-02-12 09:52

I'm getting a validity check error again, not using aur helper, just a simple git pull && makepkg -si

aorth commented on 2020-02-07 14:00

@dedguy21 what error are you getting? I just installed with no problem.

aorth commented on 2019-11-11 09:57

I have updated linux-clear-bin for the recent changes to Arch Linux's mkinitcpio. The kernel image is no longer owned by the linux-clear-bin package, instead it is copied/removed by mkinitcpio. You don't need to do anything.

Also, the package version as seen by pacman will now be formatted like "" instead of "5.3.9-839", where the Clear Linux revision is using a dotted notation following the vanilla kernel version. This follows the example of other official Arch Linux kernels such as linux-zen and linux-hardened, and allows us to use proper Arch Linux package revisions.

mystique commented on 2019-10-31 23:30

Is there any potential for an -lts kernel?

aorth commented on 2019-08-21 12:07

I posted a vastly improved PKGBUILD based on yw662's version in the better-pkgbuild branch on my GitHub repository[0]. Fixes include:

  • Move PKGBUILD variables out of prepare() function
  • Prefix non-standard PKGBUILD variables with underscore
  • Add manifest and kernel pack to source files
  • Use SHA256 instead of MD5 for verification of source files
  • Let makepkg download source files instead of using curl directly in package()
  • Let makepkg unpack source files instead of using tar directly in package()
  • Use local variables in package() and build()
  • Add WIREGUARD-MODULE to "provides"
  • Add linux.preset file for generating initramfs
  • Add hooks to update and remove initramfs if package is updated or removed
  • Updated to 5.2.9-825

I still don't like the use of pkgver for the Clear Linux kernel version because it breaks the Arch pkgrel logic. For example, we cannot ship an update to 5.2.8-821 without incrementing 821. We can perhaps use the PKGBUILD 'epoch' for this though...