Skip to content

[Makefile]: Remove lockfile before build#847

Merged
marian-pritsak merged 1 commit intosonic-net:masterfrom
marian-pritsak:master
Jul 27, 2017
Merged

[Makefile]: Remove lockfile before build#847
marian-pritsak merged 1 commit intosonic-net:masterfrom
marian-pritsak:master

Conversation

@marian-pritsak
Copy link
Collaborator

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

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>
PWD := $(shell pwd)

# Remove lock file in case previous run was forcefully stopped
$(shell rm -f .screen)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's internal update_screen.sh

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. I wasn't familiar with your new build output changes.

@marian-pritsak marian-pritsak merged commit 1c16506 into sonic-net:master Jul 27, 2017
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>```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants