- introduce TARGET_ROOT define to fix paths in native mode

Conflicts:
	src/neutrino.cpp
This commit is contained in:
vanhofen
2023-01-23 23:50:18 +01:00
committed by Thilo Graf
parent 6aded31eb3
commit 430bb80aba
4 changed files with 64 additions and 44 deletions

View File

@@ -54,8 +54,8 @@
#include <nhttpd/yconfig.h>
#include <ctype.h>
#define OS_RELEASE_FILE "/usr/lib/os-release"
#define OE_IMAGE_VERSION_FILE "/etc/image-version"
#define OS_RELEASE_FILE TARGET_ROOT "/usr/lib/os-release"
#define OE_IMAGE_VERSION_FILE TARGET_ROOT "/etc/image-version"
using namespace std;