Thank you, @nns, I used a pacman hook for Manjaro. In case anyone needs it:
$ cat /etc/pacman.d/hooks/linux61-headers.hook
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = linux61-headers
[Action]
Description = Create a symlink /usr/src/linux...
Exec = /bin/sh -c "ln -sfv $(echo /usr/lib/modules/6.1.*/build | rev | cut -d' ' -f1 | rev) /usr/src/linux"
When = PostTransaction
Pinned Comments
nns commented on 2022-11-15 09:17 (UTC) (edited on 2023-06-12 12:24 (UTC) by nns)
This is the latest RELEASE version of OpenSnitch's eBPF module. It is meant to be used with the regular opensnitch package, not the -git version in the AUR.
I intend to keep this up to date with both OpenSnitch releases (as soon as the main package updates).