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