From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: [PATCH] kernel: remove grubby from dependencies Date: Fri, 21 Jun 2019 21:11:16 +0100 Message-ID: <1561147876-5491-1-git-send-email-arne_f@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3472213274437754252==" List-Id: --===============3472213274437754252== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Arne Fitzenreiter --- 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 @@ =20 name =3D kernel version =3D 5.0 -release =3D 1 +release =3D 2 thisapp =3D linux-%{version} =20 maintainer =3D Arne Fitzenreiter @@ -309,7 +309,7 @@ packages =20 requires dracut - grubby + kernel-updater linux-firmware end =20 @@ -322,8 +322,7 @@ packages end =20 _posttrans - /sbin/new-kernel-pkg --package %{kernel_name} --mkinitrd --dracut --depmo= d --update %{kernel_release} - /sbin/new-kernel-pkg --package %{kernel_name} --rpmposttrans %{kernel_rel= ease} + kernel-updater install %{kernel_release} end =20 script posttransin @@ -334,16 +333,8 @@ packages %{_posttrans} end =20 - 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 =20 --=20 2.6.3 --===============3472213274437754252==--