summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/flash/phosphor-insecure-signing-key-native.bb
blob: 16f62e3fd031aa5676e934223dae67f54b08313a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SUMMARY = "Insecure private key for testing and development"
DESCRIPTION = "Do not use this key to sign images."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
PR = "r1"

SRC_URI += "file://OpenBMC.priv"

inherit allarch
inherit native

do_install() {
        bbplain "Using an insecure image signing key!"
        install -d ${D}${datadir}
        install -m 400 ${WORKDIR}/OpenBMC.priv ${D}${datadir}
}