# ignore hidden files and executable bits in overlay
# directories, as this files are meant to be run on
# compute nodes
addFilter("hidden-file-or-dir /var/lib/warewulf/overlays/.*")
addFilter("non-executable-script /var/lib/warewulf/overlays/.*")
addFilter("non-executable-script /usr/lib/dracut/.*")
# wwclient is called on a compute node *before* systemd in
# order to provision the system, so it *must* be statically linked
addFilter("statically-linked-binary .*/wwclient")
# LOL. Not every changelog entry marks a version update.
addFilter("no-version-in-last-changelog")
# C'on, really? We have to build for multiple target version with different rpmlint settings.
addFilter("unused-rpmlintrc-filter")
# also ignore shell syntax errors in templates as the templates need to be rendered first
addFilter("bin-sh-syntax-error /var/lib/warewulf/overlays/.*")
# bashims in the templates do not touch the package
addFilter("potential-bashisms /var/lib/warewulf/overlays/.*")
