From: Peter Marko <[email protected]> When documentation is built, buildpaths errors occur. There is one path to S and one to UNPACKDIR. We can have a single sed rule to fix both.
Signed-off-by: Peter Marko <[email protected]> --- meta/recipes-multimedia/flac/flac_1.5.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/flac/flac_1.5.0.bb b/meta/recipes-multimedia/flac/flac_1.5.0.bb index 2f43b4e84b..a667ea9f62 100644 --- a/meta/recipes-multimedia/flac/flac_1.5.0.bb +++ b/meta/recipes-multimedia/flac/flac_1.5.0.bb @@ -44,6 +44,6 @@ FILES:libflac++ = "${libdir}/libFLAC++.so.*" do_install:append() { # make the links in documentation relative to avoid buildpaths reproducibility problem sed -i "s#${S}/include#${includedir}#g" ${D}${docdir}/flac/FLAC.tag ${D}${docdir}/flac/api/*.html - # there is also one root path without trailing slash - sed -i "s#${S}#/#g" ${D}${docdir}/flac/api/*.html + # there are also some root paths in API titles + sed -i "s#${UNPACKDIR}#sources#g" ${D}${docdir}/flac/api/*.html }
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240221): https://lists.openembedded.org/g/openembedded-core/message/240221 Mute This Topic: https://lists.openembedded.org/mt/120136574/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
