kdump: using move instead of copy
We can safely remove the one in ramFS after transfering to emmc, no need
to preserve it.
Google-Bug-Id:313504742
Change-Id: I75eeb363dd391693c49d4b52f557962e81f010b4
Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
(cherry picked from commit 81e90ff641a725832b0644c70d002bb0daccdb97)
diff --git a/recipes-google/emmc/emmc-kdump/emmc_kdump.sh b/recipes-google/emmc/emmc-kdump/emmc_kdump.sh
index bd95977..6aad8bb 100644
--- a/recipes-google/emmc/emmc-kdump/emmc_kdump.sh
+++ b/recipes-google/emmc/emmc-kdump/emmc_kdump.sh
@@ -24,4 +24,4 @@
fi
# At most 1 kdump in ram at any time
-cp /run/log/kdump/* . || exit 0
+mv /run/log/kdump/* . || exit 0