Skip to content

Backport v2023 <- v2025dev2: Delete all documents in target

Walter Lozano requested to merge wip/wlozano/backports-v2023 into apertis/v2023

The image recipes include dpkg-excludes to avoid installing documentation for target image. However, this only is applied after the bootstrap process causing some documents to remain in the rootfs.

A partial clean up is done on the last steps of the image generation, erasing /usr/share/doc/*, but there are other places for documents.

Clean up all the folders that are mentioned in dpkg exclusions after the bootstrap to save space and to ensure that SBOM which does not support autogenerated files, like man pages, is accurate.

Signed-off-by: Walter Lozano walter.lozano@collabora.com

Merge request reports