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