diff options
author | Brandon Kim <brandonkim@google.com> | 2021-06-16 01:29:31 +0300 |
---|---|---|
committer | Brandon Kim <brandonkim@google.com> | 2021-06-16 01:29:31 +0300 |
commit | bafdac1a131559e5b25c75dd43ad06457bd416fd (patch) | |
tree | ca2b88362711ac60c65b1c0b5ada68587c7b3201 /meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend | |
parent | 7f886a9f23c037fd57feeec585d9ba1f0061145a (diff) | |
download | openbmc-bafdac1a131559e5b25c75dd43ad06457bd416fd.tar.xz |
meta-google: recipes-phosphor: initrdscripts: Import from gBMC
Initial recipes-phosphor/initrdscripts code from gBMC.
Google-Bug-Id: 179618491
Upstream: 1182879e906e67ca171b21c1eaa4027f9d162e49
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I810f3a80d635d2c3a38fcb1db7ee4c396ae2d7bb
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" |