if you are using mke2fs+e2fsdroid or mkfs.erofs repack android image ,you can use it to patch file_context
Go to file
ColdWindScholar f19f1aaaa7
Update contextpatch.py
2023-08-10 10:16:20 +08:00
README.md Create README.md 2023-08-09 11:00:43 +08:00
contextpatch.py Update contextpatch.py 2023-08-10 10:16:20 +08:00

README.md

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