- 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
|
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
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -193,6 +193,7 @@ BuildRequires: asciidoc
|
|||||||
BuildRequires: bash
|
BuildRequires: bash
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: suse-module-tools
|
||||||
BuildRequires: pkgconfig(systemd) >= 199
|
BuildRequires: pkgconfig(systemd) >= 199
|
||||||
Requires: bash
|
Requires: bash
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
@ -464,12 +465,26 @@ ln -s %{dracutlibdir}/modules.d/45ifcfg/write-ifcfg-redhat.sh %{buildroot}/%{dra
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%service_add_post purge-kernels.service
|
%service_add_post purge-kernels.service
|
||||||
|
%{?regenerate_initrd_post}
|
||||||
|
|
||||||
|
%post fips
|
||||||
|
%{?regenerate_initrd_post}
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun purge-kernels.service
|
%service_del_preun purge-kernels.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%service_del_postun purge-kernels.service
|
%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
|
%files fips
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user