Avoid excessively invoking 'pkg bootstrap' if already done.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a5a71822df
commit
d7a8d3868c
@ -1371,7 +1371,9 @@ REPODIR= ${MAKEOBJDIRPREFIX}${.CURDIR}/repo
|
|||||||
PKGSIGNKEY?= # empty
|
PKGSIGNKEY?= # empty
|
||||||
|
|
||||||
_pkgbootstrap:
|
_pkgbootstrap:
|
||||||
|
.if !exists(${LOCALBASE}/sbin/pkg)
|
||||||
@env ASSUME_ALWAYS_YES=YES pkg bootstrap
|
@env ASSUME_ALWAYS_YES=YES pkg bootstrap
|
||||||
|
.endif
|
||||||
|
|
||||||
packages: _pkgbootstrap
|
packages: _pkgbootstrap
|
||||||
@mkdir -p ${WSTAGEDIR} ${KSTAGEDIR} ${REPODIR}
|
@mkdir -p ${WSTAGEDIR} ${KSTAGEDIR} ${REPODIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user