git: d02dcf21eea3 - main - pkgbase: Make src package creation recipes more precise
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Aug 2024 15:59:32 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=d02dcf21eea3973a714294b011537c2af6c747fa
commit d02dcf21eea3973a714294b011537c2af6c747fa
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-08-19 15:22:03 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-08-19 15:48:12 +0000
pkgbase: Make src package creation recipes more precise
Just remove the plist created by the respective rule. Otherwise the two
receipes can race with each other.
Fixes: d7d5c9efef03 ("pkgbase: Let source packages be built in parallel")
Reviewed by: bapt, emaste
Reported by: Mark Millard <marklmi@yahoo.com>
Differential Revision: https://reviews.freebsd.org/D46320
---
Makefile.inc1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.inc1 b/Makefile.inc1
index 4df7f1900cf4..5400cb5e734a 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2120,7 +2120,7 @@ create-packages-source: _pkgbootstrap _repodir .PHONY
create-packages: .PHONY create-packages-world create-packages-kernel create-packages-source
create-source-src-package: _pkgbootstrap .PHONY
- rm -f ${SSTAGEDIR}/*.plist 2>/dev/null || :
+ rm -f ${SSTAGEDIR}/src.plist 2>/dev/null || :
.if !empty(GIT_CMD) && exists(${GIT_CMD}) && exists(${SRCDIR}/.git)
@cd ${SRCDIR}; \
( echo "@override_prefix /usr/src" ; \
@@ -2147,7 +2147,7 @@ create-source-src-package: _pkgbootstrap .PHONY
.endif
create-source-src-sys-package: _pkgbootstrap .PHONY
- rm -f ${SSTAGEDIR}/*.plist 2>/dev/null || :
+ rm -f ${SSTAGEDIR}/src-sys.plist 2>/dev/null || :
.if !empty(GIT_CMD) && exists(${GIT_CMD}) && exists(${SRCDIR}/.git)
@cd ${SRCDIR}; \
( echo "@override_prefix /usr/src" ; \