scripts/emerge-qa.sh: exclude @system packages from qa-vdb

Ebuilds do not declare @system members, but the default qa-vdb exclude
list only covers the toolchain, so every package linking libuuid, libkmod
or liblzma got a missing dependency notice for util-linux, kmod or
xz-utils.

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-10-23 14:44:01 +11:00
1 parent 01200d07f9
commit 432f60b725
1 file changed
+3
+3
View File
@@ -11,6 +11,9 @@ REPORT=elog-report
# mark LDFLAGS with the symbol Portage checks for in every ELF file
before() {
FEATURES=getbinpkg emerge --oneshot --quiet app-portage/iwdevtools
# ebuilds do not declare @system members, so qa-vdb must not ask for them
python3 -I -c 'import portage; print(*sorted({portage.dep.Atom(a.lstrip("*")).cp for a in portage.settings.packages}), sep="\n")' \
>> /etc/iwdevtools/qa-vdb.exclude
cat >> /etc/portage/bashrc << 'EOF'
QA_VDB_ARGS="--no-color --no-extra"
source /usr/share/iwdevtools/qa-vdb.bashrc