summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-12-03 22:59:58 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2025-01-10 23:01:21 +0900
commitd9ecb92b4fbbbb0a9993017da8d044541ca35886 (patch)
tree0d303d6f6017838ee763d37919c5b2d1d9b7ac2d /tools/perf/scripts/python/call-graph-from-postgresql.py
parent9d89551994a430b50c4fffcb1e617a057fa76e20 (diff)
kbuild: deb-pkg: do not include empty hook directories
The linux-image package currently includes empty hook directories (/etc/kernel/{pre,post}{inst,rm}.d/ by default). These directories were perhaps intended as a fail-safe in case no hook scripts exist there. However, they are really unnecessary because the run-parts command is already guarded by the following check: test -d ${debhookdir}/${script}.d && run-parts ... The only difference is that the run-parts command either runs for empty directories (resulting in a no-op) or is skipped entirely. The maintainer scripts will succeed without these dummy directories. The linux-image packages from the Debian kernel do not contain /etc/kernel/*.d/, either. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions