From 496d8f8eda007ffc3f5ff9cfdb177917c1c9c7ab Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Thu, 22 Oct 2020 13:30:25 +0200 Subject: [PATCH] dey-image-installer: add release version to readme file in ZIP installer This commit replaces the hardcoded text from the readme file by the environment variables adding from this way the release version to the file content. Signed-off-by: Arturo Buzarra --- meta-digi-dey/classes/dey-image-installer.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/classes/dey-image-installer.bbclass b/meta-digi-dey/classes/dey-image-installer.bbclass index 4c0923362..048b82173 100644 --- a/meta-digi-dey/classes/dey-image-installer.bbclass +++ b/meta-digi-dey/classes/dey-image-installer.bbclass @@ -39,8 +39,8 @@ generate_installer_zip () { # Create README file cat >${IMGDEPLOYDIR}/README.txt <<_EOF_ -Digi Embedded Yocto kit installer ---------------------------------- +${DISTRO_NAME} ${DISTRO_VERSION} kit installer +---------------------------------------- _EOF_ md5sum ${INSTALLER_FILELIST} | sed -e "s,${DEPLOY_DIR_IMAGE}/,,g;s,${IMGDEPLOYDIR}/,,g" >> ${IMGDEPLOYDIR}/README.txt