[PATCH openbmc 11/32] update: Save files in run filesystem
OpenBMC Patches
openbmc-patches at stwcx.xyz
Sat Mar 5 23:30:02 AEDT 2016
From: "Milton D. Miller II" <miltonm at us.ibm.com>
Instead of in saving files in root which is messy and logically
part of the cow space, save the files in a directory under /run
which will be mounted during init, runtime, and shutdown.
Signed-off-by: Milton Miller <miltonm at us.ibm.com>
---
.../common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh
index efdd913..b066471 100755
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh
@@ -57,7 +57,7 @@ rorwopts=ro${rwopts#rw}
rwdir=rw
upper=$rwdir/cow
-save=save/${upper##*/}
+save=/run/save/${upper##*/}
doclean=
dosave=y
--
2.7.1
More information about the openbmc
mailing list