linux-cachyos-dbg-link

LOW
maintainer zitro 0 votes scanned 2026-10-18 21:23:05.711806
View on AUR
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'
5pkgdesc=$'Build-id store link for the CachyOS kernel debug image'
6arch=($'x86_64')
7license=($'GPL-2.0-only')
8depends=("${_main_pkgname}")
9options=('!strip' '!debug')
10pkgrel=1
11
12pkgname="${_main_pkgname}-link"
13pkgver=7.2.9_2
14pkgver() {
15 local dbg_version;
16 dbg_version="$(pacman -Q linux-cachyos-dbg | cut -d' ' -f2)";
17 printf $'%s\n' "${dbg_version//-/_}";
18}
19
20package() {
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)SeverityRules
2026-10-18 21:23:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion