mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 04:20:38 -09:00
package/qt6/qt6base: remove SBOMs from target
All Qt6 packages install their own SPDX SBOM in $(TARGET_DIR)/usr/lib/qt6/sbom/. In the context of Buildroot having such SBOMs on the target is not useful, and they take up some space, so get rid of them. We use a TARGET_FINALIZE_HOOKS (and not a POST_INSTALL_TARGET_HOOKS) because it's not just qt6base that installs SBOMs, but all qt6 modules, so we want the cleanup to happen after they all got installed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
45789c73b1
commit
160ef0b27a
@@ -431,5 +431,10 @@ define QT6BASE_RM_USR_MKSPECS
|
||||
endef
|
||||
QT6BASE_TARGET_FINALIZE_HOOKS += QT6BASE_RM_USR_MKSPECS
|
||||
|
||||
define QT6BASE_RM_SBOMS
|
||||
$(RM) -rf $(TARGET_DIR)/usr/lib/qt6/sbom/
|
||||
endef
|
||||
QT6BASE_TARGET_FINALIZE_HOOKS += QT6BASE_RM_SBOMS
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user