From 491b69666960356d965e6d5dbcba89faba0f9080 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 9 Aug 2020 16:15:38 -0400 Subject: Fix HOME_DIR path for Rocker, X3ii, and X20 Prevented plugins from accessing their config files properly Change-Id: Ic3b115aaa9168fa30b98607aeacb1a12b5498a5f --- firmware/target/hosted/filesystem-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/hosted/filesystem-app.c') diff --git a/firmware/target/hosted/filesystem-app.c b/firmware/target/hosted/filesystem-app.c index e54f0b91f7..3cb0dd3653 100644 --- a/firmware/target/hosted/filesystem-app.c +++ b/firmware/target/hosted/filesystem-app.c @@ -37,7 +37,7 @@ #include "logf.h" #if (defined(AGPTEK_ROCKER) || defined(XDUOO_X3II) || defined(XDUOO_X20)) && !(defined(BOOTLOADER) || defined(CHECKWPS) || defined(SIMULATOR)) -#define PIVOT_ROOT "/mnt/sd_0" +#define PIVOT_ROOT HOME_DIR #endif #if (CONFIG_PLATFORM & PLATFORM_ANDROID) -- cgit v1.2.3