OSDN Git Service

optionally use a canned fs_config when building ext4 fs
authorDoug Zongker <dougz@google.com>
Mon, 16 Jun 2014 16:07:44 +0000 (09:07 -0700)
committerDoug Zongker <dougz@google.com>
Mon, 16 Jun 2014 16:50:05 +0000 (09:50 -0700)
commitaad1accb587aa708012b329c784332dcc9991de6
tree32cb68248eed337e260446a0c27896137581c689
parent24956e382abd9890283eb55496db9e3b8c12a7e2
optionally use a canned fs_config when building ext4 fs

In order to accurately re-create old images after changes to
android_filesystem_config.h, we need make_ext4fs and mkuserimg.sh to
be able to take a file containing the desired
uid/gid/mode/capabilities for each path in the filesystem, and use
that instead of the fs_config function that is built in to the binary.

The target_files already contains this file, which is created at the
time of the original build by running the binary fs_config for each
path in the build.

Change-Id: I501dc9544de37a592c1e831b6bf785c086cb6912
ext4_utils/Android.mk
ext4_utils/canned_fs_config.c [new file with mode: 0644]
ext4_utils/canned_fs_config.h [new file with mode: 0644]
ext4_utils/make_ext4fs_main.c
ext4_utils/mkuserimg.sh