linux-cachyos-dbg-link
LOW
maintainer zitro
0 votes
scanned 2026-10-18 21:23:05.711806
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: zitro <0 ät zitro [point] id>
2
3
_main_pkgname=$'linux-cachyos-dbg'
4
_debug_image=$'/usr/src/debug/linux-cachyos/vmlinux'
5
pkgdesc=$'Build-id store link for the CachyOS kernel debug image'
6
arch=($'x86_64')
7
license=($'GPL-2.0-only')
8
depends=("${_main_pkgname}")
9
options=('!strip' '!debug')
10
pkgrel=1
11
12
pkgname="${_main_pkgname}-link"
13
pkgver=7.2.9_2
14
pkgver() {
15
local dbg_version;
16
dbg_version="$(pacman -Q linux-cachyos-dbg | cut -d' ' -f2)";
17
printf $'%s\n' "${dbg_version//-/_}";
18
}
19
20
package() {
21
local build_id;
22
build_id="$(readelf -n "${_debug_image}" | sed -n 's/.*Build ID: //p' | tr 'A-F' 'a-f')";
23
24
if [[ -z ${build_id} ]]; then
25
error $'%s states no GNU build-id for its vmlinux\n' "${_main_pkgname}";
26
return 1;
27
fi
28
29
install -d "${pkgdir}/usr/lib/debug/.build-id/${build_id:0:2}";
30
ln -s "${_debug_image}" "${pkgdir}/usr/lib/debug/.build-id/${build_id:0:2}/${build_id:2}.debug";
31
}
32
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-18 21:23:05 | Low | 1 |