Check if the BMC version already exists in /media before mounting.

- When a system is first flashed, it has 2 rofs-0 mounts, since both
  chips have the same version.
- This change would help prevent the 2nd mount since the BMC version
  is already mounted.

Resolves openbmc/openbmc#2307

Change-Id: I50c7df3deb953b411aa6ff9929907f3879c6e130
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
1 file changed
tree: 96ab991cad5d9fe3b87380998d3c192019c2cbb3
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE