From 4459c709450700031e61ffa251ff1c39c177c01bfcbe4bb3a130686b12a4059c Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Mon, 30 Mar 2015 18:23:51 +0000 Subject: [PATCH] Accepting request 293590 from home:elvigia:branches:Kernel:kdump - kexec tools are included in the default initrd, we need to regenerate if this package changes. OBS-URL: https://build.opensuse.org/request/show/293590 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kexec-tools?expand=0&rev=62 --- kexec-tools.changes | 6 ++++++ kexec-tools.spec | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/kexec-tools.changes b/kexec-tools.changes index d250582..ba381fd 100644 --- a/kexec-tools.changes +++ b/kexec-tools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Mar 29 01:53:16 UTC 2015 - crrodriguez@opensuse.org + +- kexec tools are included in the default initrd, we need + to regenerate if this package changes. + ------------------------------------------------------------------- Fri Mar 20 15:19:45 UTC 2015 - schwab@linux-m68k.org diff --git a/kexec-tools.spec b/kexec-tools.spec index f617f24..1cb2bfb 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,7 +1,7 @@ # # spec file for package kexec-tools # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -103,6 +103,7 @@ ln -s %{_sbindir}/kexec $RPM_BUILD_ROOT/sbin %post %service_add_post kexec-load.service +%{?regenerate_initrd_post} %postun %service_del_postun kexec-load.service @@ -113,6 +114,9 @@ ln -s %{_sbindir}/kexec $RPM_BUILD_ROOT/sbin %preun %service_del_preun kexec-load.service +%posttrans +%{?regenerate_initrd_posttrans} + %files %defattr(-, root, root) %doc AUTHORS COPYING News TODO doc