Add a 'signpackages' target, which creates the pkg repository
metadata files and uses the path of PKGSIGNKEY for signing, if set. Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -126,7 +126,7 @@ TGTS= all all-man buildenv buildenvvars buildkernel buildworld \
|
|||||||
_build-tools _cross-tools _includes _libraries _depend \
|
_build-tools _cross-tools _includes _libraries _depend \
|
||||||
build32 builddtb distribute32 install32 xdev xdev-build xdev-install \
|
build32 builddtb distribute32 install32 xdev xdev-build xdev-install \
|
||||||
xdev-links native-xtools create-kernel-packages stageworld \
|
xdev-links native-xtools create-kernel-packages stageworld \
|
||||||
create-world-packages packages installconfig
|
create-world-packages packages installconfig signpackages
|
||||||
|
|
||||||
TGTS+= ${SUBDIR_TARGETS}
|
TGTS+= ${SUBDIR_TARGETS}
|
||||||
|
|
||||||
|
|||||||
@@ -1359,6 +1359,7 @@ packagekernel:
|
|||||||
|
|
||||||
STAGEDIR= ${MAKEOBJDIRPREFIX}${.CURDIR}/stage
|
STAGEDIR= ${MAKEOBJDIRPREFIX}${.CURDIR}/stage
|
||||||
REPODIR= ${MAKEOBJDIRPREFIX}${.CURDIR}/repo
|
REPODIR= ${MAKEOBJDIRPREFIX}${.CURDIR}/repo
|
||||||
|
PKGSIGNKEY?= # empty
|
||||||
|
|
||||||
_pkgbootstrap:
|
_pkgbootstrap:
|
||||||
@env ASSUME_ALWAYS_YES=YES pkg bootstrap
|
@env ASSUME_ALWAYS_YES=YES pkg bootstrap
|
||||||
@@ -1450,6 +1451,9 @@ create-kernel-packages: _pkgbootstrap
|
|||||||
.endfor
|
.endfor
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
signpackages: _pkgbootstrap
|
||||||
|
@pkg -o ABI_FILE=${STAGEDIR}/bin/sh repo ${REPODIR}/$$(pkg config ABI) ${PKGSIGNKEY}
|
||||||
|
|
||||||
#
|
#
|
||||||
# doxygen
|
# doxygen
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user