mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
Include SBOM files in -dev packages
Qt now produces SBOM (Software Bill of Material) files, include those in the -dev packages. The file cointains references to buildpaths, get rid of those until fixed upstream. Pick-to: 6.8 Change-Id: Ibe2972649db74925aab3fbe0307fd679e1ea53bf Reviewed-by: Alex Bu <alex.bu@qt.io> Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
This commit is contained in:
parent
fcee8bec25
commit
958cb1592a
|
|
@ -45,6 +45,15 @@ do_install:append() {
|
|||
-e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' \
|
||||
-e '/QMAKE_PRL_BUILD_DIR/d' \
|
||||
-e '\|${WORKDIR}|d' {} \;
|
||||
|
||||
# Remove buildpaths from SBOM files
|
||||
# QTBUG-130557
|
||||
if [ -e ${D}${QT6_INSTALL_LIBDIR}/sbom ]; then
|
||||
sed -i ${D}${QT6_INSTALL_LIBDIR}/sbom/*.spdx \
|
||||
-e 's|${STAGING_DIR_NATIVE}||' \
|
||||
-e 's|${S}||g' \
|
||||
-e 's|${B}||'
|
||||
fi
|
||||
}
|
||||
|
||||
export QT_DISABLE_SHADER_DISK_CACHE = "1"
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ FILES:${PN}-dev += " \
|
|||
${QT6_INSTALL_LIBDIR}/cmake \
|
||||
${QT6_INSTALL_LIBDIR}/metatypes \
|
||||
${QT6_INSTALL_LIBDIR}/pkgconfig \
|
||||
${QT6_INSTALL_LIBDIR}/sbom \
|
||||
${QT6_INSTALL_MKSPECSDIR} \
|
||||
${QT6_INSTALL_QMLDIR}/*.qmltypes \
|
||||
${QT6_INSTALL_QMLDIR}/*/*.qmltypes \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user