From b9e2809fce57a6e2ae88a4ef75ae11c4555d57a7 Mon Sep 17 00:00:00 2001 From: Andrei Cherechesu Date: Fri, 8 Apr 2022 19:38:52 +0300 Subject: uboot-script-gen: Skip symbolic links resolving Skipped symbolic links resolving, since the file names that we pass via configs are symlinks, but we want the tool to generate a script with the exact same names that we pass to it. Signed-off-by: Andrei Cherechesu Reviewed-by: Ayan Kumar Halder Acked-by: Stefano Stabellini --- scripts/uboot-script-gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen index aee45ec..c23caca 100755 --- a/scripts/uboot-script-gen +++ b/scripts/uboot-script-gen @@ -211,7 +211,7 @@ function load_file() local filename=$1 local fit_scr_name=$2 - local relative_path="$(realpath --relative-to=$PWD $filename)" + local relative_path="$(realpath --no-symlinks --relative-to=$PWD $filename)" if test "$FIT" then -- cgit v1.2.3