Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[glibc] Add ldconfig to %post. Fixes JB#39841
Before commit d954e01, i.e. switch to eglibc,
there used to be:
%post -p /usr/sbin/glibc_post_upgrade.%{_target_cpu}

Which internally handled all sorts of thing.

Just do ldconfig now again.
  • Loading branch information
pvuorela committed Sep 29, 2017
1 parent acfba00 commit 9f9441e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glibc.spec
Expand Up @@ -570,6 +570,8 @@ install -m 700 build-locale-archive $RPM_BUILD_ROOT/usr/sbin/build-locale-archiv
mkdir -p $RPM_BUILD_ROOT/var/cache/ldconfig
> $RPM_BUILD_ROOT/var/cache/ldconfig/aux-cache

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%pre headers
Expand Down

0 comments on commit 9f9441e

Please sign in to comment.