From ea9488731577330cebd48d1ce941d9c8c1791ad9 Mon Sep 17 00:00:00 2001 From: Zlika Date: Mon, 13 May 2019 22:08:35 +0200 Subject: [PATCH] Fix recalbox.version does not exist on non-docker builds --- board/recalbox/recalbox-patch-target.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/recalbox/recalbox-patch-target.sh b/board/recalbox/recalbox-patch-target.sh index 19b114f3bd..92521c4e89 100755 --- a/board/recalbox/recalbox-patch-target.sh +++ b/board/recalbox/recalbox-patch-target.sh @@ -72,6 +72,9 @@ rm -f "${TARGET_DIR}/etc/shadow" || exit 1 ln -sf "/run/recalbox.shadow" "${TARGET_DIR}/etc/shadow" || exit 1 # Add the date while the version can be nightly or unstable +if [ ! -f "${TARGET_DIR}/recalbox/recalbox.version" ]; then + echo "development" > "${TARGET_DIR}/recalbox/recalbox.version" +fi RVERSION=$(cat "${TARGET_DIR}/recalbox/recalbox.version") # bootsplash -- GitLab