name = "linux"
version = "7.3.1"
release = 1
arch = "x86_64"
description = "The Lulu Linux kernel (Intel / AMD / NVIDIA graphics, Wi-Fi, laptops; boots without an initramfs)"
url = "https://www.kernel.org/"
license = "GPL-2.0-only"
depends = ["kmod", "linux-firmware"]
provides = ["linux-kernel"]
post_install = """
for d in /usr/lib/modules/*; do [ -d "$d" ] && depmod -a "${d##*/}"; done
# refresh the boot menu only if GRUB is already installed (the installer runs grub-mkconfig itself)
if [ -f /boot/grub/grub.cfg ] && command -v grub-mkconfig >/dev/null; then grub-mkconfig -o /boot/grub/grub.cfg; fi
true
"""
post_upgrade = """
for d in /usr/lib/modules/*; do [ -d "$d" ] && depmod -a "${d##*/}"; done
if [ -f /boot/grub/grub.cfg ] && command -v grub-mkconfig >/dev/null; then grub-mkconfig -o /boot/grub/grub.cfg; fi
true
"""
post_remove = """
if [ -f /boot/grub/grub.cfg ] && command -v grub-mkconfig >/dev/null; then grub-mkconfig -o /boot/grub/grub.cfg; fi
true
"""
installed_size = 131749735
