From e24b0ec9d6d62ae69ee4614fb1d6f03d2b9df35c Mon Sep 17 00:00:00 2001 From: Dalon Westergreen Date: Sun, 15 Jan 2017 17:00:11 -0800 Subject: Fix sdcard creation class issue with using stale content Change sdcard creation to use the fstype in the build rather than in the deploy dir. Also, put created image in the build dir rather then the deploy dir direcly. I believe this to be the cause of the stale or non-working root filesystem --- classes/sdcard_image-socfpga.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/sdcard_image-socfpga.bbclass b/classes/sdcard_image-socfpga.bbclass index 0f59957..879c2c1 100644 --- a/classes/sdcard_image-socfpga.bbclass +++ b/classes/sdcard_image-socfpga.bbclass @@ -34,7 +34,7 @@ ROOTFS_SIZE_MOD ?= "16384" # Use an uncompressed ext3 by default as rootfs SDIMG_ROOTFS_TYPE = "ext3" -SDIMG_ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" +SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" IMAGE_DEPENDS_socfpga-sdimg += " \ @@ -48,7 +48,7 @@ IMAGE_DEPENDS_socfpga-sdimg += " \ rootfs[depends] += "virtual/kernel:do_deploy" # SD card image name -SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.socfpga-sdimg" +SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.socfpga-sdimg" IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}" -- cgit v1.2.3-54-g00ecf