Skip to content

Commit

Permalink
Remove -f flag from ldconfig call in ld-precache part
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Llewellyn <daniel@bowlhat.net>
  • Loading branch information
Daniel Llewellyn committed May 15, 2020
1 parent 6cf26fb commit 553d22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapcraft-assets/ld-precache/bin/build-ld-cache
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ IFS=':' read -ra PATHS <<< "$LD_LIBRARY_PATH"
# ld.so.cache file without breaking the bind-file layout on
# the real ld.so.cache file.
mkdir -p "$SNAP_DATA/fake-etc"
ldconfig -v -C "$SNAP_DATA/fake-etc/ld.so.cache" -f "$SNAP_DATA/etc/ld.so.conf" "${PATHS[@]}"
ldconfig -v -C "$SNAP_DATA/fake-etc/ld.so.cache" "${PATHS[@]}"

# install the new ld.so.cache to the global location by
# copying it. We must not unlink the global file or the snap
Expand Down

0 comments on commit 553d22f

Please sign in to comment.