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 <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2020-10-22 13:30:25 +02:00
parent d7d8c7aa56
commit 496d8f8eda
1 changed files with 2 additions and 2 deletions

View File

@ -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