public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Arne Fitzenreiter <arne_f@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] kernel: remove grubby from dependencies
Date: Fri, 21 Jun 2019 21:11:16 +0100	[thread overview]
Message-ID: <1561147876-5491-1-git-send-email-arne_f@ipfire.org> (raw)

[-- 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


                 reply	other threads:[~2019-06-21 20:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1561147876-5491-1-git-send-email-arne_f@ipfire.org \
    --to=arne_f@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox