Skip to content

Commit

Permalink
Exclude minidump.gz when collecting xiaomi logs (tiann#1592)
Browse files Browse the repository at this point in the history
Saves about ~80MB space.
  • Loading branch information
aviraxp authored and WenHao2130 committed Jun 1, 2024
1 parent ff2cf29 commit 8d7fb7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fun getBugreportFile(context: Context): File {
shell.newJob().add("tar -czf ${tombstonesFile.absolutePath} -C /data/tombstones .").exec()
shell.newJob().add("tar -czf ${dropboxFile.absolutePath} -C /data/system/dropbox .").exec()
shell.newJob().add("tar -czf ${pstoreFile.absolutePath} -C /sys/fs/pstore .").exec()
shell.newJob().add("tar -czf ${diagFile.absolutePath} -C /data/vendor/diag .").exec()
shell.newJob().add("tar -czf ${diagFile.absolutePath} -C /data/vendor/diag . --exclude=./minidump.gz").exec()
shell.newJob().add("tar -czf ${opulsFile.absolutePath} -C /mnt/oplus/op2/media/log/boot_log/ .").exec()
shell.newJob().add("tar -czf ${bootlogFile.absolutePath} -C /data/adb/ksu/log .").exec()

Expand Down

0 comments on commit 8d7fb7f

Please sign in to comment.