summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilton D. Miller II <miltonm@us.ibm.com>2016-02-29 10:32:58 -0600
committerMilton D. Miller II <miltonm@us.ibm.com>2016-03-04 10:51:02 -0600
commitfa8316d94339295ca1ee15349816eb5ae6a04567 (patch)
tree7a3e58a8dfc02fd69d06feaff68be9716159a136
parentee91f8da7d23486148f6abff3b7cf95a053acf94 (diff)
downloadtalos-openbmc-fa8316d94339295ca1ee15349816eb5ae6a04567.tar.gz
talos-openbmc-fa8316d94339295ca1ee15349816eb5ae6a04567.zip
update: Save files in run filesystem
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@us.ibm.com>
-rwxr-xr-xmeta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-update.sh2
1 files changed, 1 insertions, 1 deletions
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 efdd91301..b06647154 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
OpenPOWER on IntegriCloud