mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
opkg_manager.cpp: add statement for local environment
TODO: detect available opkg binary
This commit is contained in:
@@ -57,7 +57,12 @@
|
|||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
|
#if 0
|
||||||
#define OPKG_CL "opkg"
|
#define OPKG_CL "opkg"
|
||||||
|
#else
|
||||||
|
#define OPKG_CL "opkg-cl"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define OPKG_TMP_DIR "/tmp/.opkg"
|
#define OPKG_TMP_DIR "/tmp/.opkg"
|
||||||
#define OPKG_TEST_DIR OPKG_TMP_DIR "/test"
|
#define OPKG_TEST_DIR OPKG_TMP_DIR "/test"
|
||||||
#define OPKG_CL_CONFIG_OPTIONS " -V2 --tmp-dir=/tmp --cache=" OPKG_TMP_DIR
|
#define OPKG_CL_CONFIG_OPTIONS " -V2 --tmp-dir=/tmp --cache=" OPKG_TMP_DIR
|
||||||
|
Reference in New Issue
Block a user