Willy Tu | 5957459 | 2021-09-27 14:32:15 -0700 | [diff] [blame] | 1 | SUMMARY = "Google BIOS Public Keys" |
| 2 | DESCRIPTION = "Google BIOS Public Keys" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 5 | |
| 6 | FILESEXTRAPATHS:prepend:gbmc := "${THISDIR}/${PN}:" |
| 7 | |
| 8 | SRC_URI:append:gbmc = " \ |
| 9 | file://platforms_secure.pem \ |
| 10 | file://platforms_bringup.pem \ |
| 11 | " |
| 12 | |
Willy Tu | 50702e1 | 2021-10-12 18:13:59 -0700 | [diff] [blame] | 13 | |
| 14 | FILES:${PN} += "${datadir}/google-bios-key/platforms_secure.pem" |
| 15 | FILES:${PN} += "${datadir}/google-bios-key/platforms_bringup.pem" |
| 16 | FILES:${PN} += "${datadir}/platforms_secure.pem" |
| 17 | FILES:${PN} += "${datadir}/platforms_bringup.pem" |
| 18 | |
| 19 | do_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 | } |