- add --enable-pkg-management configure switch; default=no

Conflicts:
	src/gui/Makefile.am
	src/gui/update_settings.cpp
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>

Added vanhofens flash update check.
Reason: build was broken and makes maintenance easier.
This commit is contained in:
svenhoefer
2021-04-11 00:13:36 +02:00
committed by Thilo Graf
parent 64e74ea306
commit 03bc0b96a0
10 changed files with 210 additions and 18 deletions

View File

@@ -48,7 +48,9 @@
#include "scan_setup.h"
#include "settings_manager.h"
#include "videosettings.h"
#if ENABLE_PKG_MANAGEMENT
#include "opkg_manager.h"
#endif
#include <zapit/zapit.h>
#include <system/helpers.h>
@@ -135,6 +137,7 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/)
CNetworkSetup::getInstance()->setWizardMode(SNeutrinoSettings::WIZARD_OFF);
}
#if ENABLE_PKG_MANAGEMENT
//package update check
if(advanced && res != menu_return::RETURN_EXIT_ALL)
{
@@ -149,6 +152,7 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/)
g_settings.softupdate_autocheck_packages = true;
}
}
#endif
bool init_settings = false;
if (CFEManager::getInstance()->haveSat())