Accepting request 294242 from home:elvigia:branches:Base:System

- If kmod packge changes, regenerate the initrd.

OBS-URL: https://build.opensuse.org/request/show/294242
OBS-URL: https://build.opensuse.org/package/show/Base:System/kmod?expand=0&rev=94
This commit is contained in:
Jan Engelhardt 2015-04-02 19:02:46 +00:00 committed by Git OBS Bridge
parent bd0416e417
commit 12d40268b1
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 2 18:24:23 UTC 2015 - crrodriguez@opensuse.org
- If kmod packge changes, regenerate the initrd.
-------------------------------------------------------------------
Fri Mar 6 07:58:19 UTC 2015 - meissner@suse.com

View File

@ -42,6 +42,7 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.21
BuildRequires: suse-module-tools
BuildRequires: xz
%if 0%{?sles_version} == 11
BuildRequires: xz-devel >= 4.99
@ -158,6 +159,12 @@ ln -s "%_libdir/libkmod.so.2.2.9" "$b/%_lib/";
%check
make check V=1
%post
%{?regenerate_initrd_post}
%posttrans
%{?regenerate_initrd_posttrans}
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig