[PATCH openbmc 06/32] shutdown: request saved files be cleaned

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Mar 5 23:29:57 AEDT 2016


From: "Milton D. Miller II" <miltonm at us.ibm.com>

We don't need to hold saved files for a future restore.

Signed-off-by: Milton Miller <miltonm at us.ibm.com>
---
 .../common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-shutdown.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-shutdown.sh b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-shutdown.sh
index 7d79cf0..8d5d0c9 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-shutdown.sh
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-shutdown.sh
@@ -43,7 +43,7 @@ if ls $image* > /dev/null 2>&1
 then
 	if test -x $update
 	then
-		$update
+		$update --clean-saved-files
 	else
 		echo 1>&2 "Flash update requested but $update program missing!"
 	fi
-- 
2.7.1




More information about the openbmc mailing list