Skip to content

gentoo/portage-install-checks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Portage Install Checks

Extra post-install QA checks for Portage, with output in both human and machine-readable formats.

For humans

  1. Install these checks to /usr/local/lib/install-qa-check.d or /usr/lib/install-qa-check.d
  2. Enable QA logging in /etc/portage/make.conf: PORTAGE_ELOG_CLASSES="log warn error qa"
  3. emerge your package
  4. Check the build log and hope there's no new QA violations

For machines

QA violations are logged to "${T}"/qa.log in YAML:

- tag: share-elf
  files:
    - "/usr/share/bin/foo"
    - "/usr/share/bin/bar"

List of checks

Name Description
illegal-files Files that should never be installed eg. Thumbs.db, OS X fork files etc.
share-elf Identifies ELF files in /usr/share

Credits

Many checks have been inspired by or outright copied from a variety of sources, including, but not limited to:

  • Portage
  • flameeyes' tinderbox
  • toralf's tinderbox
  • lintian

Releases

No releases published

Packages

No packages published