History log of /system/extras/ext4_utils/mkuserimg_mke2fs.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
18a2974d6cf3c26ec82cb0b660f9a322369cadb6 29-Aug-2017 Jin Qian <jinqian@google.com> ext4_utils: make file system image reproducible

Add flags to set filesystem uuid, hash_seed and mke2fs time.

Bug: 64994964
Change-Id: I38369a3a9dfffefead11c4b8fdd1e6984e61b938
(cherry picked from commit 407a7de4c499ede24dbbeb22d2efe6490a974b0d)
/system/extras/ext4_utils/mkuserimg_mke2fs.sh
87eb12642f68f5a8594893618cfab128da82ebd8 10-Mar-2017 Jin Qian <jinqian@google.com> ext4_utils: add default mke2fs.conf

Copy default configs from borg build machine and enable ext_attr.

Bug: 34947454
Test: make systemimage
Change-Id: I011b3d119f35beb0e78b804e62deff229775a0b0
/system/extras/ext4_utils/mkuserimg_mke2fs.sh
2265052af9236855f09e1b301288b066e1604dd5 08-Mar-2017 Ben Fennema <fennema@google.com> mkuserimg_mke2fs: fix empty -E to mke2fs and empty -S to e2fsdroid

not passing in -s caused a -E to be passed to mke2fs without any options
not passing in FILE_CONTEXTS caused a -S to be passed to e2fsdroid
without a file

Test: build oem image (doesn't pass in -s or [FILE_CONTEXTS])
Change-Id: Id00ca79b6b5fdc75e603ab568d74f1a183f8e56b
Signed-off-by: Ben Fennema <fennema@google.com>
/system/extras/ext4_utils/mkuserimg_mke2fs.sh
ba223bdc3f8a0f09165fb9036bbbcf44cdd394e0 03-Feb-2017 Jin Qian <jinqian@google.com> ext4_utils: explicitly enable ext_attr feature

Bug: 34947454
Change-Id: I1ecb64ceb1ff14ef48cecbbb396fe7321704b9b6
/system/extras/ext4_utils/mkuserimg_mke2fs.sh
923a928134fc09ea5f24d67cc1e78d8f70bcb4f8 06-Jan-2017 Connor O'Brien <connoro@google.com> Pass stripe_width and stride parameters to mke2fs

If available, use flash erase & logical block sizes to tune stride
and stripe parameters to mke2fs.

Test: Built & flashed userdata; checked stride & stripe values
Bug: 33243520
Change-Id: I07319a0bc3d3418b1f4e74e61b10e02dc78fb4db
Signed-off-by: Connor O'Brien <connoro@google.com>
/system/extras/ext4_utils/mkuserimg_mke2fs.sh
434347a990c16a44d0e0180b664297c9fb2a7e20 07-Jan-2017 Jin Qian <jinqian@google.com> ext4_utils: disable sparse io for e2fsdroid if image is not sparse

Change-Id: I05fda0b9895e0c68730220057de7b7abe1c79930
/system/extras/ext4_utils/mkuserimg_mke2fs.sh
e42388dc4316a83959383bd99ee18165b393da36 15-Dec-2016 Jin Qian <jinqian@google.com> 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
/system/extras/ext4_utils/mkuserimg_mke2fs.sh
3f6ea671d55b0f8ba9bab8826c817327d67ee9bb 16-Nov-2016 Adrien Schildknecht <adriens@google.com> ext4_utils: use mke2fs instead of make_ext4

Test: m -j32 && fastboot flashall (aosp_angler-userdebug)

Change-Id: Ic4f598fdf19c8d6fb44740999663ed4f166b0a5b
/system/extras/ext4_utils/mkuserimg_mke2fs.sh