summaryrefslogtreecommitdiff
path: root/help.sh
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2017-11-14 23:42:30 +0800
committerBowgo Tsai <bowgotsai@google.com>2018-08-08 18:59:44 +0800
commitd624fa63d53c3024a1078a476ec671eddf84d637 (patch)
treebd053ed9c67295248626ba8dea069479084be1f4 /help.sh
parent92439975003cedf53ca3c71db3fe63b8d1eab333 (diff)
Add support for /odm partition
This CL is largely an adaptation of Change-Id I5d229f6ac729ea6df9ff1f14cee2e28972cd9b4d tools/vendor_buildinfo.sh is also renamed to tools/device_buildinfo.sh. The caller then can invoke device_buildinfo.sh "vendor" | "odm" to generate properties for vendor.img and odm.img, respectively. It adds the following variables: - BOARD_AVB_ODM_KEY_PATH - BOARD_AVB_ODM_ALGORITHM - BOARD_AVB_ODM_ROLLBACK_INDEX_LOCATION - BOARD_ODMIMAGE_FILE_SYSTEM_TYPE - BOARD_ODMIMAGE_EXTFS_INODE_COUNT - BOARD_ODMIMAGE_EXTFS_RSV_PCT - BOARD_ODMIMAGE_PARTITION_SIZE - BOARD_ODMIMAGE_JOURNAL_SIZE - BOARD_ODMIMAGE_SQUASHFS_BLOCK_SIZE - BOARD_ODMIMAGE_SQUASHFS_COMPRESSOR - BOARD_ODMIMAGE_SQUASHFS_COMPRESSOR_OPT - BOARD_ODMIMAGE_SQUASHFS_DISABLE_4K_ALIGN - BOARD_PREBUILT_ODMIMAGE - BOARD_USES_ODMIMAGE - LOCAL_ODM_MODULE - PRODUCT_ODM_BASE_FS_PATH - PRODUCT_ODM_VERITY_PARTITION - PRODUCT_ODM_PROPERTIES - TARGET_COPY_OUT_ODM - TARGET_OUT_ODM - TARGET_OUT_ODM_* Bug: 64195575 Test: boot a Taimen with existing images Test: `make odmimage` with - BOARD_AVB_ENABLE := true - BOARD_ODMIMAGE_PARTITION_SIZE := 62914560 - BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := ext4 - TARGET_COPY_OUT_ODM := odm - PRODUCT_ODM_PROPERTIES += odm.test.build=success Test: `make odmimage` with - BOARD_ODMIMAGE_PARTITION_RESERVED_SIZE := 10485760 - BOARD_ODMIMAGE_FILE_SYSTEM_TYPE := ext4 - BOARD_AVB_ENABLE := true - TARGET_COPY_OUT_ODM := odm - PRODUCT_ODM_PROPERTIES += odm.test.build=success - PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true Change-Id: I4dea7b567ec49a766c7a4683decaf81c7e921d55
Diffstat (limited to 'help.sh')
-rwxr-xr-xhelp.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/help.sh b/help.sh
index ad22253088..3ecdbc2ca8 100755
--- a/help.sh
+++ b/help.sh
@@ -42,6 +42,8 @@ Common goals are:
Stands for "Product, NO Dependencies"
psnod Quickly rebuild the product-services image from built packages
Stands for "ProductServices, NO Dependencies"
+ onod Quickly rebuild the odm image from built packages
+ Stands for "ODM, NO Dependencies"
So, for example, you could run: