aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2018-02-06 03:11:47 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-02-06 03:11:47 +0000
commitd047d6fa11070d6c81685a3774fc1785317aa1d4 (patch)
treef0b5b42577fa9db5db4a5311c286edf75d2853dd
parent0bd82038bc37b8577701258d6e6552d5aa92a4ce (diff)
parent85a6bc1e52bb911f195c5dc0890717913938c2d1 (diff)
downloadsquashfs-tools-d047d6fa11070d6c81685a3774fc1785317aa1d4.tar.gz
mksquashfs: Run android_fs_config() on the root inode
am: 85a6bc1e52 Change-Id: I30cde31417ce572c5d2960f73ec0f9f506541b05
-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 */