summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorosm0sis <osm0sis@outlook.com>2018-07-13 01:27:20 -0300
committerosm0sis <osm0sis@outlook.com>2018-07-13 01:27:20 -0300
commit23a088f4c890c6e7b5925e0e01a8c7fc1ad4c819 (patch)
tree5e5fcceecb66a1aab99db014dbf7de4ce6cc1e67 /README.md
parent75986e14d17759bddeb364a57ba0c2ce53c52c59 (diff)
README: document block=auto, fix zip exclusions
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 373f6ce..414c51a 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,8 @@ __do.cleanup=0__ will keep the zip from removing it's working directory in /tmp/
__do.cleanuponabort=0__ will keep the zip from removing it's working directory in /tmp/anykernel in case of installation abort.
+`block=auto` enables detection of the device boot partition for use with broad, device non-specific zips. Also accepts specifically `boot` or `recovery`.
+
`is_slot_device=1` enables detection of the suffix for the active boot partition on slot-based devices and will add this to the end of the supplied `block=` path. Also accepts `auto` for use with broad, device non-specific zips.
`ramdisk_compression=auto` allows automatically repacking the ramdisk with the format detected during unpack, changing `auto` to `gz`, `lzo`, `lzma`, `xz`, `bz2`, `lz4`, or `lz4-l` (for lz4 legacy) instead forces the repack as that format.
@@ -110,7 +112,7 @@ Optional supported binaries which may be placed in /tools to enable built-in exp
4. Modify the anykernel.sh to add your kernel's name, boot partition location, permissions for included ramdisk files, and use methods for any required ramdisk modifications (optionally, also place banner and/or version files in the root to have these displayed during flash)
-5. `zip -r9 UPDATE-AnyKernel2.zip * -x README.md UPDATE-AnyKernel2.zip`
+5. `zip -r9 UPDATE-AnyKernel2.zip * -x .git README.md *placeholder`
If supporting a recovery that forces zip signature verification (like Cyanogen Recovery) then you will need to also sign your zip using the method I describe here: