Skip to content

Commit 6fbe298

Browse files
image_types_qcom: remove QCOM_ROOTFS_FILE, standardize on rootfs.img
The qcom-ptool partition definitions expect the root filesystem image to be named rootfs.img by default, so there is no need to support a custom name via QCOM_ROOTFS_FILE. This aligns with other similar image files which are using a known and hardcoded file name. Signed-off-by: Ricardo Salveti <[email protected]>
1 parent a491a7e commit 6fbe298

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

classes-recipe/image_types_qcom.bbclass

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ QCOM_PARTITION_FILES_SUBDIR ??= "${QCOM_BOOT_FILES_SUBDIR}"
2222

2323
QCOM_PARTITION_CONF ?= "qcom-partition-conf"
2424

25-
QCOM_ROOTFS_FILE ?= "rootfs.img"
2625
IMAGE_QCOMFLASH_FS_TYPE ??= "ext4"
2726

2827
QCOMFLASH_DIR = "${IMGDEPLOYDIR}/${IMAGE_NAME}.qcomflash"
@@ -73,7 +72,7 @@ create_qcomflash_pkg() {
7372
install -m 0644 "${DEPLOY_DIR_IMAGE}/boot-${MACHINE}.img" boot.img
7473

7574
# rootfs image
76-
install -m 0644 ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${IMAGE_QCOMFLASH_FS_TYPE} ${QCOM_ROOTFS_FILE}
75+
install -m 0644 ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${IMAGE_QCOMFLASH_FS_TYPE} rootfs.img
7776

7877
# partition bins
7978
for pbin in `find ${DEPLOY_DIR_IMAGE}/${QCOM_PARTITION_FILES_SUBDIR} -maxdepth 1 -type f -name 'gpt_main*.bin' \

0 commit comments

Comments
 (0)