blob: 5e41a7977102cdebfa91a269b58c481f2cf6789c [file] [log] [blame]
Willy Tu59574592021-09-27 14:32:15 -07001SUMMARY = "Google BIOS Public Keys"
2DESCRIPTION = "Google BIOS Public Keys"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
5
6FILESEXTRAPATHS:prepend:gbmc := "${THISDIR}/${PN}:"
7
8SRC_URI:append:gbmc = " \
9 file://platforms_secure.pem \
10 file://platforms_bringup.pem \
11"
12
Willy Tu50702e12021-10-12 18:13:59 -070013
14FILES:${PN} += "${datadir}/google-bios-key/platforms_secure.pem"
15FILES:${PN} += "${datadir}/google-bios-key/platforms_bringup.pem"
16FILES:${PN} += "${datadir}/platforms_secure.pem"
17FILES:${PN} += "${datadir}/platforms_bringup.pem"
18
19do_install() {
20 install -d ${D}${datadir}/google-bios-key
21 install -m 0644 ${WORKDIR}/platforms_secure.pem ${D}${datadir}/google-bios-key
22 install -m 0644 ${WORKDIR}/platforms_bringup.pem ${D}${datadir}/google-bios-key
23
24 ln -s -r ${D}${datadir}/google-bios-key/platforms_secure.pem ${D}${datadir}/platforms_secure.pem
25 ln -s -r ${D}${datadir}/google-bios-key/platforms_bringup.pem ${D}${datadir}/platforms_bringup.pem
26}