Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d796a8c7 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "releasetools: Update the comments regarding selinux_fc." am: 45f74b10 am: df24a30b

am: 9c1b48ce

Change-Id: Ic45d1dbd4979f9cdc5690bd63d42eb03efe5ed6e
parents 96bfae7c 9c1b48ce
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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)