public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] kernel: remove grubby from dependencies
@ 2019-06-21 20:11 Arne Fitzenreiter
  0 siblings, 0 replies; only message in thread
From: Arne Fitzenreiter @ 2019-06-21 20:11 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]

Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
---
 kernel/kernel.nm | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/kernel/kernel.nm b/kernel/kernel.nm
index 193cf57..033ef0e 100644
--- a/kernel/kernel.nm
+++ b/kernel/kernel.nm
@@ -5,7 +5,7 @@
 
 name       = kernel
 version    = 5.0
-release    = 1
+release    = 2
 thisapp    = linux-%{version}
 
 maintainer = Arne Fitzenreiter <arne.fitzenreiter(a)ipfire.org>
@@ -309,7 +309,7 @@ packages
 
 		requires
 			dracut
-			grubby
+			kernel-updater
 			linux-firmware
 		end
 
@@ -322,8 +322,7 @@ packages
 		end
 
 		_posttrans
-			/sbin/new-kernel-pkg --package %{kernel_name} --mkinitrd --dracut --depmod --update %{kernel_release}
-			/sbin/new-kernel-pkg --package %{kernel_name} --rpmposttrans %{kernel_release}
+			kernel-updater install %{kernel_release}
 		end
 
 		script posttransin
@@ -334,16 +333,8 @@ packages
 			%{_posttrans}
 		end
 
-		script postin
-			/sbin/new-kernel-pkg --package %{kernel_name} --install %{kernel_release}
-		end
-
-		script postup
-			/sbin/new-kernel-pkg --package %{kernel_name} --install %{kernel_release}
-		end
-
-		script preun
-			/sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{kernel_release}
+		script postun
+			kernel-updater uninstall %{kernel_release}
 		end
 	end
 
-- 
2.6.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-21 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-21 20:11 [PATCH] kernel: remove grubby from dependencies Arne Fitzenreiter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox