Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts: add replacements scripts for /sbin/ldconfig calls in glibc-common #3453

Merged
merged 1 commit into from
Feb 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/libpriv/rpmostree-scripts.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,17 @@ static const RpmOstreeLuaReplacement lua_replacements[] = {
"/usr/bin/sh",
glibc_langpacks_script
},
/* See https://src.fedoraproject.org/rpms/glibc/pull-request/54, which converts this to
* Lua as part of https://bugzilla.redhat.com/show_bug.cgi?id=2018913.
*/
{ "glibc-common.transfiletriggerin",
"/usr/bin/sh",
"/sbin/ldconfig"
},
{ "glibc-common.transfiletriggerpostun",
"/usr/bin/sh",
"/sbin/ldconfig"
},
/* See https://src.fedoraproject.org/rpms/glibc/pull-request/12
* Code originally introduced in https://src.fedoraproject.org/rpms/glibc/c/34927af202deb7d97dbb211a3cb13b1c53b496d3?branch=master
* Most of that script is about working around bugs from a traditional RPM in-place update,
Expand Down