mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
update: move image RELEASE_CYCLE define to configure.ac
It should be more sensefull to set release cycle inside environment than hard coding inside neutrino code. Neutrino package version is not the same like image release cycle, therefore here it is separated from package info.
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user