I thought we'd already fixed this once already upstream - maybe new
templates have appeared.  This would be better as an upstreamed patch,
can you submit it there too?

Ross

On Thu, 21 Jan 2021 at 13:08, Oleksiy Obitotskyy via
lists.openembedded.org <oobitots=cisco....@lists.openembedded.org>
wrote:
>
> Replace filename with basename in templates
> to avoid absolute path in generated source files.
>
> Signed-off-by: Oleksiy Obitotskyy <oobit...@cisco.com>
> ---
>  meta/recipes-graphics/pango/pango_1.48.0.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-graphics/pango/pango_1.48.0.bb 
> b/meta/recipes-graphics/pango/pango_1.48.0.bb
> index 552a44583c..a070581732 100644
> --- a/meta/recipes-graphics/pango/pango_1.48.0.bb
> +++ b/meta/recipes-graphics/pango/pango_1.48.0.bb
> @@ -35,6 +35,9 @@ GIR_MESON_OPTION = 'introspection'
>
>  do_configure_prepend() {
>      chmod +x ${S}/tests/*.py
> +    if [ -n "$SOURCE_DATE_EPOCH" ]; then
> +        find ${S} -name "*.template" -print0 | xargs -0 sed -i -e 
> "s/@filename@/@basename@/"
> +    fi
>  }
>
>  do_configure_prepend_toolchain-clang() {
> --
> 2.26.2.Cisco
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147064): 
https://lists.openembedded.org/g/openembedded-core/message/147064
Mute This Topic: https://lists.openembedded.org/mt/80002908/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to