commit | 04836b5ae659c2ad7b558787b670c336bea22a5d | [log] [tgz] |
---|---|---|
author | Milton Miller <miltonm@us.ibm.com> | Fri Feb 05 11:06:39 2016 -0600 |
committer | Milton D. Miller II <miltonm@us.ibm.com> | Tue Feb 09 08:59:43 2016 -0600 |
tree | d3e7657aedc0888fba941887a770aa31ba887757 | |
parent | a307ddbc5840fa37d2dd0bc63eb5d9be8df5b1cf [diff] |
obmc-initfs: shutdown: don't follow links When creating the synlink for the u-boot-env image, don't follow any symlinks. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
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 cc076fd..d29db26 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
@@ -27,7 +27,7 @@ if test -s /run/fw_env -a -c /run/mtd:u-boot-env -a ! -e /image-u-boot-env && ! cmp /run/mtd:u-boot-env /run/fw_env then - ln -s /run/fw_env /image-u-boot-env + ln -sn /run/fw_env /image-u-boot-env fi if test -x /update && ls image-* > /dev/null 2>&1