diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-05-08 21:58:43 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-05-08 21:58:43 +0000 |
commit | 45f74b104b0b02c673a0d60d0bbf8767bc9e35c1 (patch) | |
tree | b82091b30f0ab2e5678412d566cb8039698f0586 | |
parent | e591ef32a04545c70b61687ae99a19ab4f69c83d (diff) | |
parent | 13ebc021ecf71871cf58d11fa3eb8c04a54701fe (diff) | |
download | build-45f74b104b0b02c673a0d60d0bbf8767bc9e35c1.tar.gz |
Merge "releasetools: Update the comments regarding selinux_fc."
-rw-r--r-- | tools/releasetools/common.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py index 495fec30b9..e6422978d2 100644 --- a/tools/releasetools/common.py +++ b/tools/releasetools/common.py @@ -332,10 +332,8 @@ def LoadInfoDict(input_file, repacking=False): raise ValueError("Failed to find 'fstab_version'") if repacking: - # We carry a copy of file_contexts.bin under META/. If not available, search - # BOOT/RAMDISK/. Note that sometimes we may need a different file to build - # images than the one running on device, in that case, we must have the one - # for image generation copied to META/. + # "selinux_fc" should point to the file_contexts file (file_contexts.bin) + # under META/. fc_basename = os.path.basename(d.get("selinux_fc", "file_contexts")) fc_config = os.path.join(input_file, "META", fc_basename) assert os.path.exists(fc_config) |