fix sd-ext backup and restore.
Change-Id: I346724f231bb29df2c0fa833df420620ab1be1b4
This commit is contained in:
parent
53c9bd8b10
commit
e06e539196
@ -10,6 +10,8 @@ on init
|
||||
symlink /system/etc /etc
|
||||
|
||||
mkdir /sdcard
|
||||
mkdir /sd-ext
|
||||
mkdir /datadata
|
||||
mkdir /emmc
|
||||
mkdir /system
|
||||
mkdir /data
|
||||
|
@ -198,7 +198,7 @@ int nandroid_backup(const char* backup_path)
|
||||
{
|
||||
if (0 != ensure_path_mounted("/sd-ext"))
|
||||
ui_print("Could not mount sd-ext. sd-ext backup may not be supported on this device. Skipping backup of sd-ext.\n");
|
||||
else if (0 != (ret = nandroid_backup_partition(backup_path, "SDEXT:")))
|
||||
else if (0 != (ret = nandroid_backup_partition(backup_path, "/sd-ext")))
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user