Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Latest commit

 

History

History
13 lines (12 loc) · 358 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 358 Bytes

context_patch

if you are using mke2fs+e2fsdroid or mkfs.erofs repack android image ,you can use it to patch file_context

Usage

if there have a vendor file vendor:

  • vendor (dir):(many files)
  • config (dir):
    • vendor_fs_config
    • vendor_file_context
python context_patch.py ./vendor/vendor ./vendor/config/vendor_file_context