Commit 5dc14fa
committed
[build] Fix compilation deadlock issue
Why I did it
If the previous compilation exited abnormally during the installation
process, the subsequent compilation process(ex: make target/xxx.bin
SONIC_BUILD_JOBS=4) may enter a deadlock state because the file
lock(`$(DEBS_PATH)/dpkg_lock`) may not be deleted.
How I did it
Try to deleted the file lock before starting compilation.
How to verify it
The compilation always be OK though the previous compilation exited
abnormally during the installation process.
Signed-off-by: Long Wu <[email protected]>1 parent 86c3f17 commit 5dc14fa
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
382 | 385 | | |
383 | 386 | | |
384 | 387 | | |
| |||
0 commit comments