Change-Id: I60f957afb64c438ab99fff52272a83a4e6841e2c
Name: upgrade
Summary: Upgrade support for Tizen
-Version: 8.0.2
+Version: 8.0.3
Release: 0
Group: System
License: Apache-2.0
fi
fi
- for ISUCFG in $(find /etc/isu/ -type f -name isu.cfg); do
+ for ISUCFG in $(find /opt/isu/ -maxdepth 2 -type f -name isu.cfg); do
PKG_NAME=$(basename "$(dirname "$ISUCFG")")
- if [ ! -d "/opt/isu/$PKG_NAME" ]; then
+ if [ ! -d "/etc/isu/$PKG_NAME" ]; then
+ NOTIFY "Platform image does not contain information about ${PKG_NAME} - unable to verify which is newer (ISU or Platform). Dropping ISU package ${PKG_NAME}."
+ REMOVE_ISU_PKG "$PKG_NAME"
continue
fi
CUR_IMG_VERSION=$(grep -e "^version" "/etc/isu/$PKG_NAME/isu.cfg" | awk -F "=" '{ gsub(/[ ]+/, ""); print $2}')