diff options
Diffstat (limited to 'classes/image_types_ostree.bbclass')
-rw-r--r-- | classes/image_types_ostree.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index 56d4d76..5301c18 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -229,6 +229,12 @@ IMAGE_CMD_garagesign () { | |||
229 | ${target_url} \ | 229 | ${target_url} \ |
230 | --sha256 ${ostree_target_hash} \ | 230 | --sha256 ${ostree_target_hash} \ |
231 | --hardwareids ${SOTA_HARDWARE_ID} | 231 | --hardwareids ${SOTA_HARDWARE_ID} |
232 | if [ -n "${GARAGE_CUSTOMIZE_TARGET}" ]; then | ||
233 | bbplain "Running command(${GARAGE_CUSTOMIZE_TARGET}) to customize target" | ||
234 | ${GARAGE_CUSTOMIZE_TARGET} \ | ||
235 | ${GARAGE_SIGN_REPO}/tufrepo/roles/unsigned/targets.json \ | ||
236 | ${GARAGE_TARGET_NAME}-${target_version} | ||
237 | fi | ||
232 | garage-sign targets sign --repo tufrepo \ | 238 | garage-sign targets sign --repo tufrepo \ |
233 | --home-dir ${GARAGE_SIGN_REPO} \ | 239 | --home-dir ${GARAGE_SIGN_REPO} \ |
234 | --key-name=targets | 240 | --key-name=targets |