Raise an error when partition setting is wrong
When setting target out path at root(/product, /system_ext), either file system type or prebuilt image must be set. If not, we'd rather raise an error. Without raising an error, the artifacts in these directory are not included in any image. And also, extract these logics into function, and check product, odm, system_ext For now, exempt vendor image because of some targets with prebuilt vendor image. Bug: 137169253 Test: set TARGET_COPY_OUT_PRODUCT := product BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := BOARD_PREBUILT_PRODUCTIMAGE := and then check if it causes an error. Test: set TARGET_COPY_OUT_PRODUCT := system/product BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4 or BOARD_PREBUILT_PRODUCTIMAGE := someimage.img and then check if it causes an error. Change-Id: Ibf0f7838111075ba3649e198e5649aa7e8e29d7c
Loading
Please register or sign in to comment