mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
Image backup apollo Part #5
- Rework handling devtable - Use file for devtable '/var/tuxbox/config/devtable.txt' - If file is empty or does not exist, will default entries '/dev/console' and '/dev/null' creates
This commit is contained in:
@@ -39,6 +39,9 @@
|
||||
#include <gui/widget/progresswindow.h>
|
||||
|
||||
#include <driver/framebuffer.h>
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
#include <system/mtdutils/mkfs.jffs2.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -78,7 +81,7 @@ class CFlashExpert : public CProgressWindow
|
||||
bool checkSize(int mtd, std::string &backupFile);
|
||||
void readmtd(int readmtd);
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
void addDevtableEntry(int fd_dev, const char *entry);
|
||||
bool readDevtableFile(std::string &devtableFile, CMkfsJFFS2::v_devtable_t &v_devtable);
|
||||
void readmtdJFFS2(std::string &filename);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user