- regenerate the initrds on updating this package (or the -fips
subpackage) OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=204
This commit is contained in:
parent
4cc17340d6
commit
b45f7f094f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 5 09:37:42 UTC 2015 - meissner@suse.com
|
||||
|
||||
- regenerate the initrds on updating this package (or the -fips
|
||||
subpackage)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 3 04:53:20 UTC 2015 - bwiedemann@suse.com
|
||||
|
||||
|
17
dracut.spec
17
dracut.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dracut
|
||||
#
|
||||
# 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
|
||||
@ -193,6 +193,7 @@ BuildRequires: asciidoc
|
||||
BuildRequires: bash
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: suse-module-tools
|
||||
BuildRequires: pkgconfig(systemd) >= 199
|
||||
Requires: bash
|
||||
Requires: coreutils
|
||||
@ -464,12 +465,26 @@ ln -s %{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh %{buildroot}/%{dra
|
||||
|
||||
%post
|
||||
%service_add_post purge-kernels.service
|
||||
%{?regenerate_initrd_post}
|
||||
|
||||
%post fips
|
||||
%{?regenerate_initrd_post}
|
||||
|
||||
%preun
|
||||
%service_del_preun purge-kernels.service
|
||||
|
||||
%postun
|
||||
%service_del_postun purge-kernels.service
|
||||
%{?regenerate_initrd_post}
|
||||
|
||||
%postun fips
|
||||
%{?regenerate_initrd_post}
|
||||
|
||||
%posttrans
|
||||
%{?regenerate_initrd_posttrans}
|
||||
|
||||
%posttrans fips
|
||||
%{?regenerate_initrd_posttrans}
|
||||
|
||||
%files fips
|
||||
%defattr(-,root,root,0755)
|
||||
|
Loading…
x
Reference in New Issue
Block a user