From aedafbbf737562962af2851607ec57eca2985ca1 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 23 Sep 2022 01:52:12 +0500 Subject: [PATCH] gcc-runtime-external: avoid forced early expansion of do_install This expansion resulted in absolute filesystem paths in the signature rather than the unexpanded forms. JIRA: SIEJIR-6415 Signed-off-by: Christopher Larson --- recipes-external/gcc/gcc-runtime-external.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-external/gcc/gcc-runtime-external.bb b/recipes-external/gcc/gcc-runtime-external.bb index 4376cbb..335a6d7 100644 --- a/recipes-external/gcc/gcc-runtime-external.bb +++ b/recipes-external/gcc/gcc-runtime-external.bb @@ -29,7 +29,7 @@ FILES_MIRRORS =. "\ # The do_install_append in gcc-runtime.inc doesn't do well if the links # already exist, as it causes a recursion that breaks traversal. python () { - adjusted = d.getVar('do_install_appended').replace('ln -s', 'link_if_no_dest') + adjusted = d.getVar('do_install_appended', expand=False).replace('ln -s', 'link_if_no_dest') adjusted = adjusted.replace('mkdir', 'mkdir_if_no_dest') d.setVar('do_install_appended', adjusted) }