From beb248aee24756ae3ff2ff65391bc0ed946a5e1a Mon Sep 17 00:00:00 2001 From: june-fish Date: Thu, 28 Mar 2024 18:43:24 -0500 Subject: [PATCH] remove broken installkernel patch in stoneyridge --- ...ackage-kernel-spec-installkernel-fix.patch | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 stoneyridge/scripts-package-kernel-spec-installkernel-fix.patch diff --git a/stoneyridge/scripts-package-kernel-spec-installkernel-fix.patch b/stoneyridge/scripts-package-kernel-spec-installkernel-fix.patch deleted file mode 100644 index 97292c0..0000000 --- a/stoneyridge/scripts-package-kernel-spec-installkernel-fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec -index f58726671fb3..5d9abee61e91 100644 ---- a/scripts/package/kernel.spec -+++ b/scripts/package/kernel.spec -@@ -71,13 +71,8 @@ rm -rf %{buildroot} - - %post - if [ -x /usr/bin/kernel-install ]; then -- /usr/bin/kernel-install add %{KERNELRELEASE} /lib/modules/%{KERNELRELEASE}/vmlinuz -+ /sbin/installkernel %{KERNELRELEASE} /boot/vmlinuz-%{KERNELRELEASE} /boot/System.map-%{KERNELRELEASE} - fi --for file in vmlinuz System.map config; do -- if ! cmp --silent "/lib/modules/%{KERNELRELEASE}/${file}" "/boot/${file}-%{KERNELRELEASE}"; then -- cp "/lib/modules/%{KERNELRELEASE}/${file}" "/boot/${file}-%{KERNELRELEASE}" -- fi --done - - %preun - if [ -x /sbin/new-kernel-pkg ]; then