diff options
author | Glen Barber <gjb@FreeBSD.org> | 2016-01-25 16:18:08 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2016-01-25 16:18:08 +0000 |
commit | d46f04328b80c5a8c9e55ed65bcea51ee71bda60 (patch) | |
tree | 6006da5578acc56ce57eb7292d0302af99123b06 /Makefile.inc1 | |
parent | f9421853ade4550bd7c0b5956ba7324b8b9676a5 (diff) | |
download | src-test2-d46f04328b80c5a8c9e55ed65bcea51ee71bda60.tar.gz src-test2-d46f04328b80c5a8c9e55ed65bcea51ee71bda60.zip |
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
Notes
Notes:
svn path=/projects/release-pkg/; revision=294733
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 01440027f91b..73ca1497fc6e 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1359,6 +1359,7 @@ packagekernel: STAGEDIR= ${MAKEOBJDIRPREFIX}${.CURDIR}/stage REPODIR= ${MAKEOBJDIRPREFIX}${.CURDIR}/repo +PKGSIGNKEY?= # empty _pkgbootstrap: @env ASSUME_ALWAYS_YES=YES pkg bootstrap @@ -1450,6 +1451,9 @@ create-kernel-packages: _pkgbootstrap .endfor .endfor +signpackages: _pkgbootstrap + @pkg -o ABI_FILE=${STAGEDIR}/bin/sh repo ${REPODIR}/$$(pkg config ABI) ${PKGSIGNKEY} + # # doxygen # |