Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Use IMGDEPLOYDIR for SDCard image generation
Browse files Browse the repository at this point in the history
This change is needed as the commit OE-Core:6d969bac (image: Deploy
images to IMGDEPLOYDIR) has changed the deployment directory from
DEPLOY_DIR_IMAGE to IMGDEPLOYDIR causing failures when using the
image_types_fsl.bbclass class.

Signed-off-by: Otavio Salvador <[email protected]>
  • Loading branch information
otavio committed Sep 13, 2016
1 parent 9356268 commit eb597c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/image_types_fsl.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ IMAGE_DEPENDS_sdcard = "parted-native:do_populate_sysroot \
virtual/kernel:do_deploy \
${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''}"

SDCARD = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.sdcard"
SDCARD = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.sdcard"

SDCARD_GENERATION_COMMAND_mxs = "generate_mxs_sdcard"
SDCARD_GENERATION_COMMAND_mx25 = "generate_imx_sdcard"
Expand Down
2 changes: 1 addition & 1 deletion conf/machine/include/imx-base.inc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
SOC_DEFAULT_IMAGE_FSTYPES = "sdcard.gz"
SOC_DEFAULT_IMAGE_FSTYPES_mxs = "uboot.mxsboot-sdcard sdcard.gz"

SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4"
SDCARD_ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext4"
IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"

SERIAL_CONSOLE = "115200 ttymxc0"
Expand Down

0 comments on commit eb597c0

Please sign in to comment.