Package Details: linux-clear-bin 5.2.16-835

Git Clone URL: https://aur.archlinux.org/linux-clear-bin.git (read-only)
Package Base: linux-clear-bin
Description: clear linux kernel and modules in binary
Upstream URL: https://clearlinux.org/node/15538
Licenses: GPL2
Conflicts: linux-clear
Provides: WIREGUARD-MODULE, linux=5.2.16, linux-clear=5.2.16
Submitter: yw662
Maintainer: aorth
Last Packager: aorth
Votes: 2
Popularity: 1.118369
First Submitted: 2019-08-04 22:33
Last Updated: 2019-09-20 20:27

Dependencies (7)

Required by (201)

Sources (6)

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

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

[0] https://github.com/alanorth/aur-linux-clear-bin/tree/better-pkgbuild

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.