aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2018-02-06 03:45:19 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-02-06 03:45:19 +0000
commitf8183fcbaa1ce8afc5915bad57badb0b8f1953bd (patch)
treef0b5b42577fa9db5db4a5311c286edf75d2853dd
parente6f34eb2b1286706ddb5767e4c5ade57d204ed78 (diff)
parentd047d6fa11070d6c81685a3774fc1785317aa1d4 (diff)
downloadsquashfs-tools-f8183fcbaa1ce8afc5915bad57badb0b8f1953bd.tar.gz
mksquashfs: Run android_fs_config() on the root inode am: 85a6bc1e52
am: d047d6fa11 Change-Id: Ib288093af47732faa390d8a99a57e1f3aa74b4bc
-rw-r--r--squashfs-tools/mksquashfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/squashfs-tools/mksquashfs.c b/squashfs-tools/mksquashfs.c
index 60be156..5df1f94 100644
--- a/squashfs-tools/mksquashfs.c
+++ b/squashfs-tools/mksquashfs.c
@@ -3296,6 +3296,9 @@ void dir_scan(squashfs_inode *inode, char *pathname,
/* ANDROID CHANGES START*/
#ifdef ANDROID
dir_ent->capabilities = caps;
+ if (android_config) {
+ android_fs_config(fs_config_func, "", &dir_ent->inode->buf, target_out_path, &dir_ent->capabilities);
+ }
#endif
/* ANDROID CHANGES END */