commit | e42388dc4316a83959383bd99ee18165b393da36 | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Wed Dec 14 21:50:38 2016 -0800 |
committer | Jin Qian <jinqian@google.com> | Fri Dec 16 11:49:18 2016 -0800 |
tree | 4750a7e580d558270be6386dd0528892fd1a5c2d | |
parent | 8760db8da768f2c040db9504582447b971c006f3 [diff] |
mkuserimg_mke2fs: fix issues creating images Don't add slash before mount point unless there's none. Extra slash confuses fs_config when looking up for selinux entries. Truncate output file before running mke2fs since it keeps verity section appened in the end of ext4 image. Otherwise build system will append verity twice. Change-Id: I076050b82c15e923aa87f3a98c258aa39b64b112