Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
BBRANCH = "master"
|
||||
SRC_URI = "git://github.com/HewlettPackard/gxp-bootblock.git;branch=${BBRANCH};protocol=https"
|
||||
SRCREV = "bab416f8ca8c8465d308cfeb7f8d5abc21ba343b"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit deploy
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}
|
||||
install -m 644 gxp-bootblock.bin ${DEPLOYDIR}/gxp-bootblock.bin
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
# TODO: Manually copy the U-Boot signing key and customer-key-block here:
|
||||
HPE_GXP_KEY_FILES_DIR = "${COREBASE}/meta-hpe/meta-gxp/recipes-bsp/image/files"
|
||||
|
||||
inherit deploy
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}
|
||||
|
||||
# Copy in the bootblock
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/gxp-bootblock.bin ${DEPLOYDIR}/gxp-bootblock.bin
|
||||
|
||||
# Copy in files from the files subdirectory
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/header.sig ${DEPLOYDIR}/hpe-uboot-header.section
|
||||
|
||||
# Copy in the U-Boot signing key
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/private_key.pem ${DEPLOYDIR}/hpe-uboot-signing-key.pem
|
||||
|
||||
# Copy in the customer keyblock
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/customer-key-block ${DEPLOYDIR}/customer-key-block
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
LICENSE = "CLOSED"
|
||||
LIC_FILES_CHKSUM = ""
|
||||
|
||||
addtask deploy before do_build after do_compile
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# TODO: Manually copy the U-Boot signing key here:
|
||||
HPE_GXP_KEY_FILES_DIR = "${COREBASE}/meta-hpe/meta-gxp/recipes-bsp/image/files"
|
||||
|
||||
inherit deploy
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}
|
||||
|
||||
# Copy in the bootblock
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/gxp2-bootblock.bin ${DEPLOYDIR}/gxp-bootblock.bin
|
||||
|
||||
# Copy in files from the files subdirectory
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/header.sig ${DEPLOYDIR}/hpe-uboot-header.section
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/header-512.sig ${DEPLOYDIR}/hpe-uboot-header-512.section
|
||||
|
||||
# Copy in the U-Boot signing key
|
||||
install -m 644 ${HPE_GXP_KEY_FILES_DIR}/customer_private_key.pem ${DEPLOYDIR}/hpe-uboot-signing-key.pem
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user