Signed-off-by: Arne Fitzenreiter arne_f@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@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