-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(squash): build ld cache for squash loader
Commit dc21638 fixes kdump kernel crash, due to non-conventional library path in powerpc, by copying /etc/ld.so.cache under initdir. While that works in general, it is vulnerable to failure because of missing links, when the CPU is reconfigured to run in compatibility mode of older CPU version. Avoid this by running ldconfig for squash loader to create the necessary links & ld cache for it. Doing this also saves a few kilobyes of space as the copied ld cache is bigger in size than the one needed for squash loader environment. Fixes: dc21638 ("fix(squash): keep ld cache under initdir") Cc: Pingfan Liu <piliu@redhat.com> Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
- Loading branch information
Showing
3 changed files
with
18 additions
and
15 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
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