Brandon Kim | bafdac1 | 2021-06-15 15:29:31 -0700 | [diff] [blame] | 1 | # This is needed to guarantee that our whitelist takes |
| 2 | # precendence over the OpenBMC one |
| 3 | FILESEXTRAPATHS_prepend_gbmc := "${THISDIR}/${PN}:" |
| 4 | |
| 5 | SRC_URI_append_gbmc_dev = " file://whitelist.dev" |
| 6 | |
| 7 | do_install_append_gbmc_dev() { |
| 8 | cat ${WORKDIR}/whitelist.dev >>${D}/whitelist |
| 9 | } |
| 10 | |
| 11 | SRC_URI_append_gbmc_dev = " file://rwfs-clean-dev.patch" |
| 12 | # Required for the clean-dev patch to detect version changes |
| 13 | RDEPENDS_${PN}_append_gbmc_dev = " os-release" |
| 14 | |
| 15 | do_install_append_gbmc_prod() { |
| 16 | echo "clean-rwfs-filesystem" > ${D}/init-options-base |
| 17 | chmod 0644 ${D}/init-options-base |
| 18 | } |
| 19 | |
| 20 | FILES_${PN}_append_gbmc_prod = " /init-options-base" |