Backend: only take relevant files for debug .tgz
- per suggestion from eng.stk avoid archiving all of $home since /tmp in recovery might hold sensitive crypto data - restrict tar to $home (i.e. /tmp/anykernel by default) and $parent/recovery.log (i.e. /tmp/recovery.log) - probably no need to be verbose when making the archive, it kinda clutters up the end of the captured log
This commit is contained in:
1 parent
e4497f231e
commit
16b147e939
1 file changed
+1
-1
@@ -38,7 +38,7 @@ debugging() {
|
||||
case $(basename "$ZIPFILE" .zip) in
|
||||
*-debugging)
|
||||
ui_print " " "Creating debugging archive in $DIR...";
|
||||
$bb tar -czvf "$DIR/anykernel3-$(date +%Y-%m-%d_%H%M%S)-debug.tgz" $parent/*;
|
||||
$bb tar -czf "$DIR/anykernel3-$(date +%Y-%m-%d_%H%M%S)-debug.tgz" $home $parent/recovery.log;
|
||||
;;
|
||||
esac;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user