build/common: sign the bootstrap package as well
Taken from: Poudriere
This commit is contained in:
parent
36f350e8eb
commit
3e112d2369
|
@ -421,7 +421,12 @@ bundle_packages()
|
|||
local SIGNARGS=
|
||||
if [ -n "$(${TOOLSDIR}/scripts/pkg_fingerprint.sh)" ]; then
|
||||
# XXX check if fingerprint is in core.git
|
||||
SIGNARGS="signing_command: ${TOOLSDIR}/scripts/pkg_sign.sh"
|
||||
local SIGNCMD="${TOOLSDIR}/scripts/pkg_sign.sh"
|
||||
SIGNARGS="signing_command: ${SIGNCMD}"
|
||||
|
||||
# generate pkg bootstrap signature
|
||||
sha256 -q ${1}${PACKAGESDIR}-new/Latest/pkg.txz | \
|
||||
${SIGNCMD} > ${1}${PACKAGESDIR}-new/Latest/pkg.txz.sig
|
||||
fi
|
||||
|
||||
# generate index files
|
||||
|
|
Loading…
Reference in New Issue