[Makefile]: Remove lockfile before build#847
Merged
marian-pritsak merged 1 commit intosonic-net:masterfrom Jul 27, 2017
Merged
Conversation
In case previous build was forcefully stopped, we need to remove screen lock so that build won't be stuck. Signed-off-by: marian-pritsak <marianp@mellanox.com>
jleveque
reviewed
Jul 26, 2017
| PWD := $(shell pwd) | ||
|
|
||
| # Remove lock file in case previous run was forcefully stopped | ||
| $(shell rm -f .screen) |
Contributor
There was a problem hiding this comment.
What process creates this lockfile? Is it screen? If so, screen is not a required build tool, so I'm not sure this should be included in the official Makefile. I've never seen this file get written, but then again, I don't use screen.
Collaborator
Author
There was a problem hiding this comment.
it's internal update_screen.sh
Contributor
There was a problem hiding this comment.
Ah. I wasn't familiar with your new build output changes.
AidanCopeland
pushed a commit
to Metaswitch/sonic-buildimage
that referenced
this pull request
Apr 14, 2022
Will help using multiple switches in VS with multiple contextes.
patrickmacarthur
pushed a commit
to patrickmacarthur/sonic-buildimage
that referenced
this pull request
Aug 6, 2025
…05 (sonic-net#847) ```<br>* 038a33b00 - (HEAD -> 202405) Merge branch '202405' of https://github.com/sonic-net/sonic-buildimage into 202405 (2025-03-11) [Sonic Automation] * aa21c6b - (head/202405) sonicbuildimage: Update openssh to openssh_9.2p1-2+deb12u5 (sonic-net#21960) (2025-03-08) [mssonicbld] * 900757d - Add mgmt_type into device metadata YANG model. (sonic-net#21944) (2025-03-06) [mssonicbld] * c9495b0 - [Arista] Change port layout for Arista-7050CX3-32S-C28S4 (sonic-net#21945) (2025-03-06) [mssonicbld] * 04f0e2f - [Nokia-7220 IXR] Update NOKIA 7220 H4, H4-32D, H5-64D platforms (sonic-net#21937) (2025-03-06) [mssonicbld] * eafef39 - [submodule] Update submodule sonic-platform-common to the latest HEAD automatically (sonic-net#21908) (2025-03-04) [mssonicbld] * 932373e - Use pzstd to compress the Docker in SWI slim images (sonic-net#21869) (2025-02-26) [mssonicbld] * f3ddb66 - [Mellanox] Update SDK/FW Version to 4.7.2202/2014.2202 (sonic-net#21761) (2025-02-24) [DavidZagury]<br>```
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 case the previous build was forcefully stopped, we need to remove screen
lock so that build won't be stuck.
Signed-off-by: marian-pritsak marianp@mellanox.com