Mike Garrett | 4eb108b | 2021-08-27 15:51:09 -0500 | [diff] [blame] | 1 | LICENSE = "CLOSED" |
| 2 | LIC_FILES_CHKSUM = "" |
| 3 | |
| 4 | # TODO: Manually copy the U-Boot signing key and customer-key-block here: |
| 5 | HPE_GXP_KEY_FILES_DIR = "${COREBASE}/meta-hpe/meta-gxp/recipes-bsp/image/files" |
| 6 | |
| 7 | inherit deploy |
| 8 | |
| 9 | do_deploy () { |
| 10 | install -d ${DEPLOYDIR} |
| 11 | |
| 12 | # Copy in the bootblock |
| 13 | install -m 644 ${HPE_GXP_KEY_FILES_DIR}/gxp-bootblock.bin ${DEPLOYDIR}/gxp-bootblock.bin |
| 14 | |
| 15 | # Copy in files from the files subdirectory |
| 16 | install -m 644 ${HPE_GXP_KEY_FILES_DIR}/header.sig ${DEPLOYDIR}/hpe-uboot-header.section |
| 17 | |
| 18 | # Copy in the U-Boot signing key |
| 19 | install -m 644 ${HPE_GXP_KEY_FILES_DIR}/private_key.pem ${DEPLOYDIR}/hpe-uboot-signing-key.pem |
| 20 | |
| 21 | # Copy in the customer keyblock |
| 22 | install -m 644 ${HPE_GXP_KEY_FILES_DIR}/customer-key-block ${DEPLOYDIR}/customer-key-block |
| 23 | } |
| 24 | |
| 25 | addtask deploy before do_build after do_compile |
| 26 | |