diff options
author | jmbills <jason.m.bills@intel.com> | 2021-08-03 01:45:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 01:45:08 +0300 |
commit | 10ad77d5bc86709d8ff7f95e7040e39f1c153903 (patch) | |
tree | 307cedb87f4c0a329740c55ac364ed489d1d8fc2 /meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend | |
parent | c6b1c6ba7a01b7987d65d61c262c44c320193108 (diff) | |
parent | 67327ddc580cb9a85219a534844832a1682780d4 (diff) | |
download | openbmc-10ad77d5bc86709d8ff7f95e7040e39f1c153903.tar.xz |
Update
Diffstat (limited to 'meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend')
-rw-r--r-- | meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend b/meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend new file mode 100644 index 000000000..905a39a48 --- /dev/null +++ b/meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend @@ -0,0 +1,20 @@ +# This is needed to guarantee that our whitelist takes +# precendence over the OpenBMC one +FILESEXTRAPATHS_prepend_gbmc := "${THISDIR}/${PN}:" + +SRC_URI_append_gbmc_dev = " file://whitelist.dev" + +do_install_append_gbmc_dev() { + cat ${WORKDIR}/whitelist.dev >>${D}/whitelist +} + +SRC_URI_append_gbmc_dev = " file://rwfs-clean-dev.patch" +# Required for the clean-dev patch to detect version changes +RDEPENDS_${PN}_append_gbmc_dev = " os-release" + +do_install_append_gbmc_prod() { + echo "clean-rwfs-filesystem" > ${D}/init-options-base + chmod 0644 ${D}/init-options-base +} + +FILES_${PN}_append_gbmc_prod = " /init-options-base" |