mirror of
https://github.com/CTCaer/CTCaer-CWM.git
synced 2024-11-26 19:40:54 +00:00
Blocked cached Google Music files from nandroid
Patchset 1) initial patch Change-Id: I76719bdd90be716f1beaeac293c5158eddf3a240
This commit is contained in:
parent
7cc1b5631a
commit
6a620aab0a
@ -128,7 +128,7 @@ static int mkyaffs2image_wrapper(const char* backup_path, const char* backup_fil
|
||||
|
||||
static int tar_compress_wrapper(const char* backup_path, const char* backup_file_image, int callback) {
|
||||
char tmp[PATH_MAX];
|
||||
sprintf(tmp, "cd $(dirname %s) ; touch %s.tar ; (tar cv %s $(basename %s) | split -a 1 -b 1000000000 /proc/self/fd/0 %s.tar.) 2> /proc/self/fd/1 ; exit $?", backup_path, backup_file_image, strcmp(backup_path, "/data") == 0 && is_data_media() ? "--exclude 'media'" : "", backup_path, backup_file_image);
|
||||
sprintf(tmp, "cd $(dirname %s) ; touch %s.tar ; (tar cv --exclude=data/data/com.google.android.music/files/* %s $(basename %s) | split -a 1 -b 1000000000 /proc/self/fd/0 %s.tar.) 2> /proc/self/fd/1 ; exit $?", backup_path, backup_file_image, strcmp(backup_path, "/data") == 0 && is_data_media() ? "--exclude 'media'" : "", backup_path, backup_file_image);
|
||||
|
||||
FILE *fp = __popen(tmp, "r");
|
||||
if (fp == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user