summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2012-11-26 13:14:01 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2012-11-26 13:14:01 +0100
commitf4d21125902e9b5c267e8fa681e56b0385791174 (patch)
tree41b119d016df2edb61f44001e0e2d8433db1f950 /recipes
parent968899781e36f3ca23d02de28c89944a79ef5be6 (diff)
image:
- add rootfs version to the banner (/etc/issue)
Diffstat (limited to 'recipes')
-rw-r--r--recipes/images/trdx-image-fstype.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/images/trdx-image-fstype.inc b/recipes/images/trdx-image-fstype.inc
index 1a84270..c2a8922 100644
--- a/recipes/images/trdx-image-fstype.inc
+++ b/recipes/images/trdx-image-fstype.inc
@@ -25,8 +25,8 @@ do_rootfs_append() {
mv ${IMAGE_ROOTFS}/../bin/u-boot-${MACHINE}.bin ${IMAGE_ROOTFS}/../bin/u-boot.bin
# add the rootfs version to the welcome banner
- echo "${IMAGE_NAME}${PV}_${DATE}" >> /etc/issue
- echo "" >> /etc/issue
+ echo "${IMAGE_NAME}${PV}_${DATE}" >> ${IMAGE_ROOTFS}/etc/issue
+ echo "" >> ${IMAGE_ROOTFS}/etc/issue
#create tarball
DATE=`date +%Y%m%d`