From f4d21125902e9b5c267e8fa681e56b0385791174 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 26 Nov 2012 13:14:01 +0100 Subject: image: - add rootfs version to the banner (/etc/issue) --- recipes/images/trdx-image-fstype.inc | 4 ++-- 1 file 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` -- cgit v1.2.3