diff --git a/configure.ac b/configure.ac index f43bc563e..0b902a0eb 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,8 @@ AC_INIT(Tuxbox-Neutrino,3.7.1) AM_INIT_AUTOMAKE([1.0.1 nostdinc]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) +AC_DEFINE(RELEASE_CYCLE, "2.4", [Release cycle information; used in update code]) + TUXBOX_APPS TUXBOX_APPS_DIRECTORY TUXBOX_APPS_PKGCONFIG diff --git a/src/gui/imageinfo.cpp b/src/gui/imageinfo.cpp index 9e2f31084..1e0dccf2f 100644 --- a/src/gui/imageinfo.cpp +++ b/src/gui/imageinfo.cpp @@ -297,7 +297,7 @@ void CImageInfo::InitInfoData() version_string += versionInfo.getDate(); version_string += ")"; }else - printf("[CImageInfo]\t[%s - %d], WARNING! %s contains possible wrong version format, content = [%s]\n", __func__, __LINE__, VERSION_FILE, version_string.c_str()); + printf("[CImageInfo]\t[%s - %d], WARNING! %s contains possible wrong version format, content = [%s], internal release cycle [%s]\n", __func__, __LINE__, VERSION_FILE, version_string.c_str(), RELEASE_CYCLE); #endif struct utsname uts_info; diff --git a/src/gui/update.cpp b/src/gui/update.cpp index e15572cee..78dbe40bd 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -88,7 +88,6 @@ extern int allow_flash; #define LIST_OF_UPDATES_LOCAL_FILENAME "coolstream.list" #define UPDATE_LOCAL_FILENAME "update.img" -#define RELEASE_CYCLE "2.0" #define FILEBROWSER_UPDATE_FILTER "img" #define MTD_OF_WHOLE_IMAGE 0