gbmc-bridge: Fix RWFS check

Some platforms mount the RWFS as mtd:rwfs instead of /dev/mtdblock<N>,
this breaks the check in the purge script and causes it to overwrite the
JFFS2 while it's still mounted during netboot.

Tested: Manually reran the hook to verify that it's following the
correct path on the known problematic platform.

Google-Bug-Id: 526772581
Google-Bug-Id: 532737092
Change-Id: I35eba8636e661318bd8c7882dbf6685a051cfa13
Signed-off-by: William A. Kennington III <wak@google.com>
1 file changed
tree: f6b88039d0822ae4280de64146b45bc97221b1a2
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-support/
  13. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.