Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* modified script build/GNU/Linux/39_copy_binaries_libraries.sh:
commenting out ldconfig line * added new script rescue/GNU/Linux/55_copy_ldconfig.sh: copy the /etc/ld.so.conf* stuff to ROOTFS * added new script skel/default/etc/scripts/system-setup.d/01-run-ldconfig.sh: run ldconfig -X before dhclient gets started at boot time Fix for issue #772
- Loading branch information
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# | ||
REQUIRED_PROGS=( ${REQUIRED_PROGS[@]} ldconfig ) | ||
COPY_AS_IS=( ${COPY_AS_IS[@]} /etc/ld.so.conf /etc/ld.so.conf.d/* ) |
5 changes: 5 additions & 0 deletions
5
usr/share/rear/skel/default/etc/scripts/system-setup.d/01-run-ldconfig.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
# force ldconfig here for backward compatibility reasons (e.g. no systemd present) | ||
if [[ -f /etc/ld.so.conf ]]; then | ||
/bin/ldconfig -X | ||
fi |
d62a555
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this change the recovery system could fail to boot,
see #1494