diff options
author | Joel A Fernandes <joelagnel@ti.com> | 2011-11-15 09:32:50 -0600 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-15 16:34:01 +0100 |
commit | 3c4c1e3013bafd87784aab77b6cef2c354cf3be4 (patch) | |
tree | 7c65040327fb1a1557df2ba622bd40101e17e902 | |
parent | ef3e2850eb8ee611693d4e7bf5f537b87ac61176 (diff) | |
download | meta-ti-3c4c1e3013bafd87784aab77b6cef2c354cf3be4.tar.gz |
sdcard_image: Add image version info to root fs
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r-- | classes/sdcard_image.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass index 7d1f061d..519bd9a3 100644 --- a/classes/sdcard_image.bbclass +++ b/classes/sdcard_image.bbclass | |||
@@ -121,6 +121,8 @@ IMAGE_CMD_sdimg () { | |||
121 | done | 121 | done |
122 | fi | 122 | fi |
123 | 123 | ||
124 | echo "${IMAGE_NAME}-${IMAGEDATESTAMP}" > ${IMAGE_ROOTFS}/etc/image-version-info | ||
125 | |||
124 | # Cleanup VFAT mount | 126 | # Cleanup VFAT mount |
125 | echo "Cleaning up VFAT mount" | 127 | echo "Cleaning up VFAT mount" |
126 | umount ${WORKDIR}/tmp-mnt-boot | 128 | umount ${WORKDIR}/tmp-mnt-boot |