Previously we tried to apply attributes even after previous failures to
try to ensure a successful boot in order to retry upgrade process.
Currently when retrying to upgrade we start from the ground up as
thre are recovery mechanisms available (getting the system to
pre-upgrade state).
Change-Id: I817fbcfecfcaea9ab65570128b15a149df31ac91
}
cleanup:
- if (ulResult == S_SS_SUCCESS) {
+ if (ulResult == S_SS_SUCCESS)
ulResult = SS_FSSetAttributes(ua_dataSS);
- } else {
- SS_FSSetAttributes(ua_dataSS); // To prevent boot failures by smack.
- }
sync();
sleep(1);