commit | c3697de01b798f1ed69652d8463a355e6b9534cd | [log] [tgz] |
---|---|---|
author | Milton D. Miller II <miltonm@us.ibm.com> | Sun Feb 28 16:07:46 2016 -0600 |
committer | Milton D. Miller II <miltonm@us.ibm.com> | Fri Mar 04 10:51:04 2016 -0600 |
tree | 585e582e69409742529f433121e6caaba008999c | |
parent | ba2b7c9f51e7f6c68571cf0dce17d538ed1fcb49 [diff] |
update: Save files using the same mount path as init Use the full /run/initramfs/rw path for the mount point of the read-write filesystem. This prevents creating and directories in / when it is invoked before shutdown. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
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 1a11953..e580561 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
@@ -55,7 +55,7 @@ rwopts=rw rorwopts=ro${rwopts#rw} -rwdir=rw +rwdir=/run/initramfs/rw upper=$rwdir/cow save=/run/save/${upper##*/}