diff options
author | Milton Miller <miltonm@us.ibm.com> | 2016-02-05 11:06:39 -0600 |
---|---|---|
committer | Milton D. Miller II <miltonm@us.ibm.com> | 2016-02-09 08:59:43 -0600 |
commit | 04836b5ae659c2ad7b558787b670c336bea22a5d (patch) | |
tree | d3e7657aedc0888fba941887a770aa31ba887757 /meta-phosphor | |
parent | a307ddbc5840fa37d2dd0bc63eb5d9be8df5b1cf (diff) | |
download | talos-openbmc-04836b5ae659c2ad7b558787b670c336bea22a5d.tar.gz talos-openbmc-04836b5ae659c2ad7b558787b670c336bea22a5d.zip |
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>
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/obmc-phosphor-initfs/files/obmc-shutdown.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 cc076fdc0..d29db265d 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 @@ set +x 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 |