feat: update linux

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
2026-09-26 15:49:08 +00:00
parent 367985bc61
commit 3486335752
7 changed files with 1021 additions and 636 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
[ "${ACTION}" = "install" ] && exit 0
source "/var/config/kernel.conf" 2> /dev/null
source "${PREFIX}/KernelInfo.txt"
rm -f "/boot/vmlinux-${KERNEL_INFO_UPSTREAM_VERSION}"
rm -f "/boot/vmlinuz-${KERNEL_INFO_UPSTREAM_VERSION}"
rm -f "/boot/initramfs-${KERNEL_INFO_UPSTREAM_VERSION}.img"
if [ "${BOOTLOADER}" = "grub" ]; then
update-grub
fi