fix sd-ext backup and restore.

Change-Id: I346724f231bb29df2c0fa833df420620ab1be1b4
This commit is contained in:
Koushik Dutta 2011-01-16 02:33:04 -08:00
parent 53c9bd8b10
commit e06e539196
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,8 @@ on init
symlink /system/etc /etc
mkdir /sdcard
mkdir /sd-ext
mkdir /datadata
mkdir /emmc
mkdir /system
mkdir /data

View File

@ -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;
}