Package Details: linux-clear-bin 5.2.13-832

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.13, linux-clear=5.2.13
Submitter: yw662
Maintainer: aorth
Last Packager: aorth
Votes: 2
Popularity: 1.268886
First Submitted: 2019-08-04 22:33
Last Updated: 2019-09-09 16:38

Dependencies (7)

Required by (199)

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-27 20:42

Note: if you are upgrading from 5.2.9-825 to 5.2.10 you need to explicitly reinstall linux-clear-bin due to a pacman version parsing issue:

$ sudo pacman -S linux-clear-bin

This happens because I packaged the last version of 5.2.9-825 with an "epoch" of 1, which forces pacman to consider it newer than everything.

The long story is: we normally increment the package's "pkgrel" when updating the PKGBUILD with changes unrelated to the software itself (ie, -1, -2, etc). Unfortunately, in our case we are using the Clear Linux kernel release as the pacman "pkgrel" (aka 825) and we can't increment that number without lying.

I don't think the Clear Linux kernel version is important per se, so we might consider doing like the clear-linux AUR package does and simply say: 5.2.10-1, 5.2.10-2, etc.

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.