sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
741 stars 1.43k forks source link

[build] The build process leaves stray tmp.XXXXXX dirs in ./dpkg dir #20772

Open wdoekes opened 2 weeks ago

wdoekes commented 2 weeks ago

Description

After building, there are often stray diredctories in the ./dpkg dir.

These are caused by a makefile mismatch:

The creation should happen at run only so they are cleaned up if they are created.

Steps to reproduce the issue:

  1. make all

Describe the results you received:

$ ls dpkg/ -ltr
total 243
drwx------ 2 sonic-builder sonic-builder 2 Nov  7 14:29 tmp.kqNUFxrvcs
drwx------ 2 sonic-builder sonic-builder 2 Nov  7 14:29 tmp.QNfFERqflx
...

Describe the results you expected:

$ ls dpkg -ltr
prgeor commented 1 week ago

@wdoekes need help from community to fix this build cleanup

wdoekes commented 1 week ago

Which help? There's the PR #20773 waiting and ready to go.