summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDalon Westergreen <dalon.westergreen@intel.com>2017-01-15 17:00:11 -0800
committerKhem Raj <raj.khem@gmail.com>2017-01-18 21:46:55 -0800
commite24b0ec9d6d62ae69ee4614fb1d6f03d2b9df35c (patch)
tree9397862d6a446ddd2c25fd9c8be5033e07eadf2d
parent9f16ecb750ac4881889ee9ab841a0737949a8be4 (diff)
downloadmeta-altera-e24b0ec9d6d62ae69ee4614fb1d6f03d2b9df35c.tar.gz
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
-rw-r--r--classes/sdcard_image-socfpga.bbclass4
1 files 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"
34 34
35# Use an uncompressed ext3 by default as rootfs 35# Use an uncompressed ext3 by default as rootfs
36SDIMG_ROOTFS_TYPE = "ext3" 36SDIMG_ROOTFS_TYPE = "ext3"
37SDIMG_ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" 37SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
38 38
39 39
40IMAGE_DEPENDS_socfpga-sdimg += " \ 40IMAGE_DEPENDS_socfpga-sdimg += " \
@@ -48,7 +48,7 @@ IMAGE_DEPENDS_socfpga-sdimg += " \
48rootfs[depends] += "virtual/kernel:do_deploy" 48rootfs[depends] += "virtual/kernel:do_deploy"
49 49
50# SD card image name 50# SD card image name
51SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.socfpga-sdimg" 51SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.socfpga-sdimg"
52 52
53IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}" 53IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
54 54