Package Details: kernel-modules-hook-hardlinks 0.2.4-1

Git Clone URL: https://aur.archlinux.org/kernel-modules-hook-hardlinks.git (read-only, click to copy)
Package Base: kernel-modules-hook-hardlinks
Description: Keeps your system fully functional after a kernel upgrade
Upstream URL: https://github.com/VannTen/kernel-modules-hook
Licenses: GPL3
Provides: kernel-modules-hook
Submitter: VannTen
Maintainer: VannTen
Last Packager: VannTen
Votes: 1
Popularity: 0.024572
First Submitted: 2023-02-21 16:40 (UTC)
Last Updated: 2023-07-05 13:04 (UTC)

Dependencies (0)

Required by (2)

Sources (5)

Latest Comments

JisuWoniu commented on 2024-03-10 08:39 (UTC) (edited on 2024-03-10 08:39 (UTC) by JisuWoniu)

Maybe add conflict=('kernel-modules-hook')? So AUR helpers can remove the original version automatically.

LRitzdorf commented on 2023-07-04 19:32 (UTC)

Actually, I'm seeing the same issue as @ato2 on my standard Arch system. I believe it comes from a mis-ordered set of braces, and I've opened a PR to fix it at https://github.com/VannTen/kernel-modules-hook/pull/1

ato2 commented on 2023-04-27 08:55 (UTC)

After you boot disk less machine which doesn't have any drives, you are using some kernel version. When machine is running long enough (many days) a new kernel will arrive, so when you upgrade all (pacman -Syu) a new kernel will be installed. So if you now want add some kernel modules you must keep both branches (runnig and new). I expected that your version will be more optimal. Now I am back with kernel-modules-hook which works as expected without any problems.

VannTen commented on 2023-04-27 07:24 (UTC)

You're referring to https://wiki.archlinux.org/title/Diskless_system right ?

Isn't a diskless station booting a root not stored on the machine ? I'm missing why that install would perform it's own kernel upgrade, could you give some precision ?

ato2 commented on 2023-04-22 11:50 (UTC)

Not working on disk-less station:

% uname -a Linux m1 6.2.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 13 Apr 2023 16:59:24 +0000 x86_64 GNU/Linux

% yay ........ :: Running pre-transaction hooks... (1/2) Saving Linux kernel modules directory (hardlinks)... cp: cannot stat '/usr/lib/modules/{6.2.11-arch1-1}/kernel': No such file or directory cp: cannot stat '/usr/lib/modules/{6.2.11-arch1-1}/modules*': No such file or directory error: command failed to execute correctly (2/2) Removing linux initcpios...

% ls /usr/lib/modules 6.2.12-arch1-1 running-kernel

% ls /usr/lib/modules/running-kernel # is empty