android: remove multiple leading slashes from paths for fs_config()

Android code for concatenating a relative file path with the -mount-point
argument creates a path with two leading slashes when the mount point is "/".
fs_config() expects only one leading slash for a path from root, causing
lookups in the file config table to fail to match, thereby producing
incorrect file attributes.

Bug: 26218766
Test: manual: inspect file modes, mount squashfs root with init executable
Change-Id: Ic3b3d0eda9b2ead3c82650e98418fcb50923947f
1 file changed