commit | c1bef9e01060f157f95496f0cbd4edb7b68a3dc8 | [log] [tgz] |
---|---|---|
author | Tony Nguyen <anthony.l.nguyen@intel.com> | Mon Sep 28 17:25:39 2020 -0700 |
committer | Josh Boyer <jwboyer@kernel.org> | Mon Oct 05 08:06:02 2020 -0400 |
tree | fbcff3b35b79a341e0e3a434da436f752f3e439e | |
parent | b95e23079a38543f899d03b974356f7d03859e59 [diff] |
copy-firmware: Always write Link: entries File: entries in the WHENCE file overwrite existing files in the target directory, however, Link: entries are skipped if the file exists in the target directory. This can cause issues if the Link: entry is updated, but the target directory contains an old symlink. Do not skip writing Link: entries if the file exists, always create the symlink. This matches the behavior of File: entries and ensures symlinks will contain values from the WHENCE file. Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Josh Boyer <jwboyer@kernel.org>