parent
5dac095982
commit
d97065a2e4
1 changed files with 15 additions and 0 deletions
|
|
@ -228,6 +228,21 @@ something like the following:
|
||||||
|
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
|
.SS How do I link old kernel modules?
|
||||||
|
This behavior is no longer a part of this package. Use a pacman hook like the following:
|
||||||
|
|
||||||
|
[Trigger]
|
||||||
|
Operation = Upgrade
|
||||||
|
Operation = Install
|
||||||
|
Operation = Remove
|
||||||
|
Type = Package
|
||||||
|
Target = linux
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Symlinking old kernel modules...
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /usr/bin/bash -c "find /usr/lib/modules -xtype l -delete; ln -sv /.snapshots/$(snapper -c root list | awk 'END{print $1}')/snapshot/usr/lib/modules/$(uname -r) /usr/lib/modules/"
|
||||||
|
|
||||||
.SH HOMEPAGE
|
.SH HOMEPAGE
|
||||||
https://github.com/wesbarnett/snap-pac
|
https://github.com/wesbarnett/snap-pac
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue