From e93197a7f18470107eaa30fc13623f10f6da0c34 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 4 Sep 2026 11:20:40 +0200 Subject: T9277: remove Kernel headers and libc headers from resulting image There is neither a compiler nor DKMS on the running system. --- data/live-build-config/rootfs/excludes | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'data') diff --git a/data/live-build-config/rootfs/excludes b/data/live-build-config/rootfs/excludes index ac646388..6db28ce7 100644 --- a/data/live-build-config/rootfs/excludes +++ b/data/live-build-config/rootfs/excludes @@ -62,3 +62,13 @@ var/lib/dpkg/*-old # T5624: Remove the Debian version file to avoid false positives from security scanners. etc/debian_version +# T9277: Kernel headers and libc headers are build-time only, there is neither a +# compiler nor DKMS on the running system. +usr/src/* +usr/include/* + +# T9277: localepurge keeps the generated locales in /usr/lib/locale, the i18n +# *source* definitions are only needed by locale-gen/localedef which nothing on +# the running system invokes. +usr/share/i18n/locales/!(en_*|i18n*|iso14651*|translit_*|POSIX|C) +usr/share/i18n/charmaps/!(UTF-8*|ANSI_X3.4*) -- cgit v1.2.3