summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-global/insane.bbclass37
1 files changed, 18 insertions, 19 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 47c8b9be10..e54d2c1508 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -24,28 +24,27 @@
24# files under exec_prefix 24# files under exec_prefix
25# -Check if the package name is upper case 25# -Check if the package name is upper case
26 26
27# These tests are required to be enabled and pass for Yocto Project Compatible Status
28# for a layer. To change this list, please contact the Yocto Project TSC.
29CHECKLAYER_REQUIRED_TESTS = "\
30 configure-gettext configure-unsafe debug-files dep-cmp expanded-d files-invalid \
31 host-user-contaminated incompatible-license infodir installed-vs-shipped invalid-chars \
32 invalid-packageconfig la \
33 license-checksum license-exception license-exists license-file-missing license-format license-no-generic license-syntax \
34 mime mime-xdg missing-update-alternatives multilib obsolete-license \
35 packages-list patch-fuzz patch-status perllocalpod perm-config perm-line perm-link \
36 pkgconfig pkgvarcheck pkgv-undefined pn-overrides shebang-size src-uri-bad symlink-to-sysroot \
37 unhandled-features-check unknown-configure-option unlisted-pkg-lics uppercase-pn useless-rpaths \
38 var-undefined virtual-slash xorg-driver-abi"
39
27# Elect whether a given type of error is a warning or error, they may 40# Elect whether a given type of error is a warning or error, they may
28# have been set by other files. 41# have been set by other files.
29WARN_QA ?= "32bit-time native-last pep517-backend" 42WARN_QA ?= "32bit-time native-last pep517-backend"
30ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \ 43ERROR_QA ?= "\
31 textrel incompatible-license files-invalid \ 44 already-stripped arch buildpaths build-deps debug-deps dev-deps dev-elf dev-so empty-dirs file-rdeps \
32 infodir build-deps src-uri-bad symlink-to-sysroot multilib \ 45 ldflags libdir missing-ptest rpaths staticdev textrel version-going-backwards \
33 invalid-packageconfig host-user-contaminated uppercase-pn \ 46 ${CHECKLAYER_REQUIRED_TESTS}"
34 mime mime-xdg unlisted-pkg-lics unhandled-features-check \ 47
35 missing-update-alternatives missing-ptest \
36 license-exists license-no-generic license-syntax license-format \
37 license-exception license-file-missing obsolete-license \
38 libdir xorg-driver-abi buildpaths \
39 dep-cmp pkgvarcheck perm-config perm-line perm-link \
40 packages-list pkgv-undefined var-undefined \
41 version-going-backwards expanded-d invalid-chars \
42 license-checksum dev-elf file-rdeps configure-unsafe \
43 configure-gettext perllocalpod shebang-size \
44 already-stripped installed-vs-shipped ldflags \
45 pn-overrides unknown-configure-option \
46 useless-rpaths rpaths staticdev empty-dirs \
47 patch-fuzz patch-status virtual-slash \
48 "
49# Add usrmerge QA check based on distro feature 48# Add usrmerge QA check based on distro feature
50ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}" 49ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
51WARN_QA:append:layer-core = " missing-metadata missing-maintainer" 50WARN_QA:append:layer-core = " missing-metadata missing-maintainer"