File linux-cachyos.rpmlintrc of Package linux-cachyos
# linux-cachyos.rpmlintrc
# rpmlint filter overrides for the CachyOS kernel package.
#
# These are known false positives inherent to kernel packages:
#
# - env-script-interpreter: kernel build tree scripts legitimately use
# "#!/usr/bin/env <interpreter>" for portability. They are development
# tools, not installed system binaries.
#
# - changelog-time-in-future: suppressed because the changelog date is
# generated at build time and may land on the same day as the OBS build.
#
# - files-duplicate: some Kconfig test files are identical by design.
#
# - bin-sh-syntax-error: some kernel scripts use bash-specific syntax
# with a /bin/sh shebang; harmless for their intended use.
#
# - zero-length: include/config/ auto-generated marker files are intentionally
# empty; they exist solely to record which CONFIG_* options are enabled.
#
# - hidden-file-or-dir: the kernel headers build tree contains .cmd dependency
# files and .gitignore files (e.g. scripts/.sign-file.cmd, scripts/mod/.gitignore).
# These are normal artefacts of the kernel build system and are required by
# external module builds (DKMS, etc.).
addFilter("env-script-interpreter")
addFilter("changelog-time-in-future")
addFilter("files-duplicate")
addFilter("bin-sh-syntax-error")
addFilter("zero-length")
addFilter("hidden-file-or-dir")