Update dtb patch to not use in-place modification

This commit is contained in:
topjohnwu
2019-09-21 05:30:04 -04:00
parent 120668c7bc
commit 4d91e50d6d
7 changed files with 86 additions and 98 deletions

View File

@@ -70,18 +70,15 @@ Supported actions:
sha1
Print stock boot SHA1 if previously backed up in ramdisk
dtb <dtb> <command> [args...]
Do commands to <dtb> (modifications are done directly)
Supported commands:
dtb <input> <action> [args...]
Do dtb related actions to <input>
Supported actions:
print [-f]
Print all contents from dtb for debugging
Print all contents of dtb for debugging
Specify [-f] to only print fstab nodes
test
Check if fstab has verity/avb flags
Return values:
0:flag exists 1:no flags
patch
patch [OUT]
Search for fstab and remove verity/avb
If [OUT] is not specified, it will directly output to <input>
compress[=method] <infile> [outfile]
Compress <infile> with [method] (default: gzip), optionally to [outfile]