From 3afb76a89b4b1b9aca5ffa0d89129cc39124d086 Mon Sep 17 00:00:00 2001 From: Mateusz Moscicki Date: Tue, 7 Dec 2021 12:34:02 +0100 Subject: [PATCH] Use /run/upgrade-sysroot instead of /system Change-Id: I22827745074a488a6da4a936d88318c70ff30862 --- ss_engine/fota_common.h | 10 +++++----- 1 file 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" -- 2.7.4