pipewire: remove WORKDIR from documentation
PATCH 1/1 pipewire: remove WORKDIR from documentation
In case docs PACKAGECONFIG is enabled, do_package_qa task fails due to some of the generated html files are referencing the ${WORKDIR}.
Delete it from these files.
Signed-off-by Gyorgy Sarvari <[email protected]>
--- .../recipes-multimedia/pipewire/pipewire_1.2.7.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-multimedia/recipes-multimedia/pipewire/pipewire_1.2.7.bb +6 -0
@@ -391,3 +391,9 @@ FILES:gstreamer1.0-pipewire = " \ " BBCLASSEXTEND = "native nativesdk" + +do_install:append() { + if ls ${D}${datadir}/doc/pipewire/html/dir_*html; then + sed -i "s,${WORKDIR},,g" ${D}${datadir}/doc/pipewire/html/dir_*html + fi +}