forked from FemboyOS/fempkg_recipes
linux: auto remake grub config
This commit is contained in:
@@ -53,4 +53,5 @@ triggers = [
|
||||
{"rebuild_package": ["nvidia"]},
|
||||
f"dracut -f -v /boot/initramfs-{pkgver}.img {pkgver}",
|
||||
f"find /boot -mindepth 1 -maxdepth 1 -type f ! -name 'initramfs-{pkgver}.img' -name 'initramfs-*.img' -exec rm -rf {{}} +",
|
||||
f"grub-mkconfig -o /boot/grub/grub.cfg",
|
||||
]
|
||||
Reference in New Issue
Block a user