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 d9bf140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: recovery-environment
Section: misc
Priority: optional
Maintainer: Paul Dagnelie <[email protected]>
Build-Depends: debhelper (>= 10)
Build-Depends: debhelper (>= 10), systemd-resolved
Standards-Version: 4.1.2
Vcs-Git: https://github.com/delphix/recovery-environment.git
#Vcs-Browser: https://github.com/delphix/recovery-environment
Expand Down
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/usr/lib/x86_64-linux-gnu/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 d9bf140

Please sign in to comment.