commit | d793f2df6eb8ecb3d01e6d3588eaaaeefe1b5ed6 | [log] [tgz] |
---|---|---|
author | Saqib Khan <khansa@us.ibm.com> | Wed Sep 13 14:05:31 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Sep 15 21:09:14 2017 +0000 |
tree | 96ab991cad5d9fe3b87380998d3c192019c2cbb3 | |
parent | a87beed1495a03d429ac52d95d52462db7e1528c [diff] |
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>