Whamcloud - gitweb
AOSP: e2fsdroid: Set android_configure when product out is passed.
authorSen Jiang <senj@google.com>
Mon, 13 Aug 2018 18:09:21 +0000 (11:09 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 18 Aug 2018 20:00:18 +0000 (16:00 -0400)
The only place that's using |product_out| is android_configure_fs().

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Bug: 111439984
Test: generated image has correct permission
Change-Id: I2602686b6b92c3e61a541b8794d266b1ee6a00d1
From AOSP commit: 57c92af0ac608dbb27de9f882336e28de7bb1fa2

contrib/android/e2fsdroid.c

index e784428..3264a99 100644 (file)
@@ -240,6 +240,7 @@ int main(int argc, char *argv[])
                        break;
                case 'p':
                        product_out = absolute_path(optarg);
+                       android_configure = 1;
                        break;
                case 'a':
                        mountpoint = strdup(optarg);