Adapt to new secureboot signing code
1) Register an ssh-key allowing access to the signing server from within LAT. 2) Provide a means to bypass poat iso build signing, as the signing should have oddured within LAT. Story: 2009221 Task: 47358 Signed-off-by: Scott Little <scott.little@windriver.com> Change-Id: If450ed2f67ef3e094f8370d9857c8bdf506a9571
This commit is contained in:
parent
e3c8a01e58
commit
186fc0af4c
@ -163,6 +163,9 @@ pipeline {
|
||||
booleanParam (
|
||||
name: 'BUILD_ISO'
|
||||
)
|
||||
booleanParam (
|
||||
name: 'POST_ISO_SIGNING'
|
||||
)
|
||||
booleanParam (
|
||||
name: 'BUILD_RT'
|
||||
)
|
||||
|
@ -43,6 +43,9 @@ pipeline {
|
||||
booleanParam (
|
||||
name: 'BUILD_ISO'
|
||||
)
|
||||
booleanParam (
|
||||
name: 'POST_ISO_SIGNING'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage ("build-iso") {
|
||||
@ -51,6 +54,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage ("sign-iso") {
|
||||
when { expression { params.POST_ISO_SIGNING } }
|
||||
steps {
|
||||
sh ("${Constants.SCRIPTS_DIR}/sign-iso.sh")
|
||||
}
|
||||
|
@ -39,6 +39,14 @@ while [[ "$(stx control status | grep -i running | wc -l)" -lt 6 ]] ; do
|
||||
done
|
||||
stx control status
|
||||
|
||||
# Add ssh access key to signing server
|
||||
if [ -f ~/.ssh/id_rsa ]; then
|
||||
notice "Registering signing server access key"
|
||||
stx control keys-add --key-type=signing-server --key=~/.ssh/id_rsa
|
||||
else
|
||||
notice "Signing server access key not found"
|
||||
fi
|
||||
|
||||
# finish setup
|
||||
stx build prepare
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user