From 2817e8b5f44d37bdc0101693d647d3ed7779e3ef Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 3 Jul 2016 12:42:19 +0200 Subject: update.sh: fix parameter to force module type The script fails when -m is given but rootfs/etc/issue fails to provide the version info. While at it correct wrong text output on i.MX 6 based modules. Signed-off-by: Max Krummenacher Acked-by: Dominik Sliwa --- recipes/images/files/colibri-vf/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/images/files/colibri-vf/update.sh') diff --git a/recipes/images/files/colibri-vf/update.sh b/recipes/images/files/colibri-vf/update.sh index bf6dd5b..2c04342 100755 --- a/recipes/images/files/colibri-vf/update.sh +++ b/recipes/images/files/colibri-vf/update.sh @@ -202,7 +202,7 @@ sudo touch ${BINARIES}/versions.txt sudo chmod ugo+w ${BINARIES}/versions.txt echo "Component Versions" > ${BINARIES}/versions.txt basename "`readlink -e ${BINARIES}/u-boot.imx`" >> ${BINARIES}/versions.txt -ROOTFSVERSION=`grep VF rootfs/etc/issue` +ROOTFSVERSION=`grep VF rootfs/etc/issue || echo "Version Unknown"` echo "Rootfs ${ROOTFSVERSION}" >> ${BINARIES}/versions.txt #create subdirectory for this module type -- cgit v1.2.3