diff options
author | Dalon Westergreen <dalon.westergreen@intel.com> | 2017-01-15 17:00:11 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-01-18 21:46:55 -0800 |
commit | e24b0ec9d6d62ae69ee4614fb1d6f03d2b9df35c (patch) | |
tree | 9397862d6a446ddd2c25fd9c8be5033e07eadf2d | |
parent | 9f16ecb750ac4881889ee9ab841a0737949a8be4 (diff) | |
download | meta-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.bbclass | 4 |
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 |
36 | SDIMG_ROOTFS_TYPE = "ext3" | 36 | SDIMG_ROOTFS_TYPE = "ext3" |
37 | SDIMG_ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" | 37 | SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" |
38 | 38 | ||
39 | 39 | ||
40 | IMAGE_DEPENDS_socfpga-sdimg += " \ | 40 | IMAGE_DEPENDS_socfpga-sdimg += " \ |
@@ -48,7 +48,7 @@ IMAGE_DEPENDS_socfpga-sdimg += " \ | |||
48 | rootfs[depends] += "virtual/kernel:do_deploy" | 48 | rootfs[depends] += "virtual/kernel:do_deploy" |
49 | 49 | ||
50 | # SD card image name | 50 | # SD card image name |
51 | SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.socfpga-sdimg" | 51 | SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.socfpga-sdimg" |
52 | 52 | ||
53 | IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}" | 53 | IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}" |
54 | 54 | ||