Add forgotten config files for 5.12 RC1
Fixes https://github.com/Frogging-Family/linux-tkg/issues/190
This commit is contained in:
parent
f4de77e7d3
commit
6e4d2393ba
14
linux-tkg-config/5.12/90-cleanup.hook
Normal file
14
linux-tkg-config/5.12/90-cleanup.hook
Normal file
@ -0,0 +1,14 @@
|
||||
[Trigger]
|
||||
Type = File
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Operation = Remove
|
||||
Target = usr/lib/modules/*/
|
||||
Target = !usr/lib/modules/*/?*
|
||||
|
||||
[Action]
|
||||
Description = Cleaning up...
|
||||
When = PostTransaction
|
||||
Exec = /usr/share/libalpm/scripts/cleanup
|
||||
NeedsTargets
|
||||
|
10
linux-tkg-config/5.12/cleanup
Executable file
10
linux-tkg-config/5.12/cleanup
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
for _f in /usr/lib/modules/*tkg*; do
|
||||
if [[ ! -e ${_f}/vmlinuz ]]; then
|
||||
rm -rf "$_f"
|
||||
fi
|
||||
done
|
||||
|
||||
# vim:set ft=sh sw=2 et:
|
||||
|
10285
linux-tkg-config/5.12/config.x86_64
Normal file
10285
linux-tkg-config/5.12/config.x86_64
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user