Fix a bug for ubuntu 19.04#6
Open
eekelvin wants to merge 1 commit intoIntelligentEdgeFabric:masterfrom
Open
Conversation
1. relink the softlink of ld-linux-x86-64.so.2 in ubuntu 19.04 before mount
llhuii
suggested changes
Aug 6, 2019
Contributor
There was a problem hiding this comment.
I think not need to check for ubuntu-19.04, because of:
[ -h $ld_path ]checks that ld is a symbolic link.- And
ln -sfonly replaces x86_64-linux-gnu with lib. - More importantly this bug may be raised in other releases. Say
ubuntu-19.10, then you would update the code again.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In ubuntu 19.04, the libraries some commands depend on are in the path /usr/lib/x86_64-linux-gnu. The mount command will overlay the path /usr/lib/x86_64-linux-gnu with lib64, so that some commands could not run properly, such as cp, mkdir etc. So the following commit is special for library dependencies in ubuntu 19.04.