summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>2021-12-07 12:34:02 +0100
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>2021-12-09 14:50:40 +0100
commit22a05fb986cac96b5cb01fd1f8727606d86b8ee9 (patch)
tree83f96aefd6e39a06d72d72607b3b8e1c077dc985
parent27485fe6afb331738e693075518b8565c8a45400 (diff)
downloadlibtota-22a05fb986cac96b5cb01fd1f8727606d86b8ee9.tar.gz
libtota-22a05fb986cac96b5cb01fd1f8727606d86b8ee9.tar.bz2
libtota-22a05fb986cac96b5cb01fd1f8727606d86b8ee9.zip
Use /run/upgrade-sysroot instead of /system
Change-Id: I81d89ccb3e688adf67936365b937679bddc58f04
-rwxr-xr-xss_engine/fota_common.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ss_engine/fota_common.h b/ss_engine/fota_common.h
index 915a0e6..93d28fa 100755
--- a/ss_engine/fota_common.h
+++ b/ss_engine/fota_common.h
@@ -64,7 +64,7 @@ typedef unsigned long long u64;
#define SECTOR_SIZE 512
#define SS_KERNEL_DELTA_HEADER 128
-#define SS_COMMON_WORKSPACE "/system/opt/usr/data/fota"
+#define SS_COMMON_WORKSPACE "/run/upgrade-sysroot/opt/usr/data/fota"
#define SS_KERNEL_UNPACK_SCRIPT "unpack.sh"
#define SS_KERN_UNPK_SCRIPT_PATH SS_COMMON_WORKSPACE "/" SS_KERNEL_UNPACK_SCRIPT
#define SS_BACKUP_SOURCE SS_COMMON_WORKSPACE "/saved.file" //How to make sure there is SPACE
@@ -76,11 +76,11 @@ typedef unsigned long long u64;
#define SS_STAT_TARGET SS_KERNEL_WORKSPACE "/stat"
#define SS_DD_TARGET SS_KERNEL_WORKSPACE "/dd"
//#define SS_UPDATE_STATUR_PATH SS_COMMON_WORKSPACE "/UP.STATUS"
-#define SS_UPDATE_STATUR_PATH "/system/opt/data/recovery/UP.STATUS"
+#define SS_UPDATE_STATUR_PATH "/run/upgrade-sysroot/opt/data/recovery/UP.STATUS"
-#define SS_GZIP_SOURCE "system/bin/gzip"
-#define SS_STAT_SOURCE "system/usr/bin/stat"
-#define SS_DD_SOURCE "system/bin/dd"
+#define SS_GZIP_SOURCE "run/upgrade-sysroot/bin/gzip"
+#define SS_STAT_SOURCE "run/upgrade-sysroot/usr/bin/stat"
+#define SS_DD_SOURCE "run/upgrade-sysroot/bin/dd"
#define SS_KERNEL_MAGIC "UnpackdzImage"
#define SS_KERNEL_NAME "zImage"