[build] Ensure /usr/lib/systemd/system/ directory exists before referencing#4788
Merged
abdosi merged 2 commits intosonic-net:masterfrom Jun 17, 2020
Merged
[build] Ensure /usr/lib/systemd/system/ directory exists before referencing#4788abdosi merged 2 commits intosonic-net:masterfrom
abdosi merged 2 commits intosonic-net:masterfrom
Conversation
/usr/lib/systemd/system/ does not exist so creating manually. Change should not harm Master (buster) where the directory is created by Linux
jleveque
suggested changes
Jun 17, 2020
Contributor
|
@abdosi: FYI, I updated the PR title. |
10da96c to
46bbaec
Compare
jleveque
suggested changes
Jun 17, 2020
46bbaec to
11a8393
Compare
jleveque
approved these changes
Jun 17, 2020
abdosi
added a commit
that referenced
this pull request
Jun 17, 2020
…encing (#4788) * Fix the Build on 201911 (Stretch) where the directory /usr/lib/systemd/system/ does not exist so creating manually. Change should not harm Master (buster) where the directory is created by Linux * Fix as per review comments
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.
- Why I did it
Fix the Build Failure on 201911 (Stretch) because of directory /usr/lib/systemd/system/ does not exist.creating manually the directory as part of build image.
Change should not harm Master (buster) where the directory is created by Linux
- How I did it
using mkdir -p
- How to verify it
Verified 201911 Build is fine after the change