summaryrefslogtreecommitdiff
path: root/recipes/images/trdx-image-fstype.inc
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
commitc3588a36583a03aa7b61e0a8234573936d7d7256 (patch)
treeef5faed1a531044d16b47de8b60cf36f4e3e7941 /recipes/images/trdx-image-fstype.inc
parentdf4a2ac0c31a9a257a517131e51e84247ad21c72 (diff)
image:
- add rootfs version to the banner (/etc/issue)
Diffstat (limited to 'recipes/images/trdx-image-fstype.inc')
-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`