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: 9
Popularity: 0.96
First Submitted: 2019-08-04 22:33
Last Updated: 2021-07-29 19:41

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 before flagging out of date here.

Latest Comments

« First ‹ Previous 1 2 3

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


btd1337 commented on 2019-08-17 16:49

@yw662 How to enable modules like Wifi and sound?

aorth commented on 2019-08-08 20:37

This is cool, yw662. I didn't know Intel provided binaries of Clear Linux kernel. A few suggestions:

  • I think you should use sha256sums instead of md5sums
  • You should add the Manifest and packagefile to sha256sums to let makepkg download and verify them instead of calling curl in the package/build step
  • You should add WIREGUARD-MODULE to provides

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.