Skip to content

Commit

Permalink
DLPX-92722 recovery-environment fails to build on 24.04 due to errone…
Browse files Browse the repository at this point in the history
  • Loading branch information
palash-gandhi committed Nov 18, 2024
1 parent cc70302 commit d016334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/stage1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function get_deps() {
#
sudo rm /etc/ld.so.cache
sudo ldconfig
(LD_LIBRARY_PATH="$(ldconfig -v 2>/dev/null | grep -v ^$'\t' | sed "s@^@$workdir@" | tr -d '\n'):$workdir/lib/systemd" \
(LD_LIBRARY_PATH="$(ldconfig -v 2>/dev/null | grep -v ^$'\t' | sed "s@^@$workdir@" | cut -d':' -f1 | paste -sd':' | tr -d '\n'):$workdir/lib/systemd" \
ldd "$binary" 2>/dev/null || true) | while read -r line; do
if ! echo "$line" | grep "=>" &>/dev/null; then
continue
Expand Down

0 comments on commit d016334

Please sign in to comment.