
This change add the option --remote-sign for the patch-builder script allowing the user to send the patch to a remote signing server, get the it signed and download it signed. Test plan: PASS: Build patch without signing it remotely PASS: Build patch signing it remotely Story: 2010676 Task: 51341 Change-Id: I59631ea81f05133f47aa3036f6c9f29e1a02b9c2 Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
18 lines
508 B
Python
18 lines
508 B
Python
#
|
|
# Copyright (c) 2024 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Default names for the script inside the patch
|
|
PATCH_SCRIPTS = {
|
|
"PRE_INSTALL": "pre-install.sh",
|
|
"POST_INSTALL": "post-install.sh",
|
|
"DEPLOY_PRECHECK": "deploy-precheck",
|
|
"UPGRADE_UTILS": "upgrade_utils.py",
|
|
}
|
|
|
|
# Default path to the script that generates the upload path
|
|
GET_UPLOAD_PATH = "/opt/signing/sign.sh"
|
|
# Default path to the script that sign the patch
|
|
REQUEST_SIGN = "/opt/signing/sign_patch.sh" |