diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD index 8347915a..aabefc21 100644 --- a/linux-cachyos-bore/PKGBUILD +++ b/linux-cachyos-bore/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-${_cpusched}-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -701,15 +698,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -762,7 +750,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos-deckify/PKGBUILD b/linux-cachyos-deckify/PKGBUILD index 86a5a601..a3af0c67 100644 --- a/linux-cachyos-deckify/PKGBUILD +++ b/linux-cachyos-deckify/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-deckify-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -704,15 +701,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -765,7 +753,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos-echo/PKGBUILD b/linux-cachyos-echo/PKGBUILD index 2643b210..d301fb1d 100644 --- a/linux-cachyos-echo/PKGBUILD +++ b/linux-cachyos-echo/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-${_cpusched}-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -701,15 +698,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -762,7 +750,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILD index c8a18301..211532ab 100644 --- a/linux-cachyos-eevdf/PKGBUILD +++ b/linux-cachyos-eevdf/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-${_cpusched}-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -701,15 +698,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -762,7 +750,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD index 5dd5e2cb..15f33dfe 100644 --- a/linux-cachyos-hardened/PKGBUILD +++ b/linux-cachyos-hardened/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-${_cpusched}-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -700,15 +697,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -761,7 +749,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILD index 0dfe74f3..51852637 100644 --- a/linux-cachyos-lts/PKGBUILD +++ b/linux-cachyos-lts/PKGBUILD @@ -161,9 +161,6 @@ _bcachefs=${_bcachefs-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-lts-lto pkgbase=linux-$pkgsuffix @@ -189,7 +186,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -769,15 +766,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -830,7 +818,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD index deb22a76..738ef924 100644 --- a/linux-cachyos-rc/PKGBUILD +++ b/linux-cachyos-rc/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-rc-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -701,15 +698,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -762,7 +750,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILD index 6c31d591..a1836e0a 100644 --- a/linux-cachyos-rt-bore/PKGBUILD +++ b/linux-cachyos-rt-bore/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-${_cpusched}-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -701,15 +698,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -762,7 +750,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos-sched-ext/PKGBUILD b/linux-cachyos-sched-ext/PKGBUILD index 32033ae1..b1225f70 100644 --- a/linux-cachyos-sched-ext/PKGBUILD +++ b/linux-cachyos-sched-ext/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-${_cpusched}-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -701,15 +698,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -762,7 +750,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD index 7070e710..981a13d2 100644 --- a/linux-cachyos-server/PKGBUILD +++ b/linux-cachyos-server/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-server-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -701,15 +698,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -762,7 +750,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia") diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD index 9a1fc81e..1f9416f7 100644 --- a/linux-cachyos/PKGBUILD +++ b/linux-cachyos/PKGBUILD @@ -141,9 +141,6 @@ _build_nvidia=${_build_nvidia-} # Use this only if you have Turing+ GPU _build_nvidia_open=${_build_nvidia_open-} -# Build a debug package with non-stripped vmlinux -_build_debug=${_build_debug-} - if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] && [ "$_use_lto_suffix" = "y" ]; then pkgsuffix=cachyos-lto pkgbase=linux-$pkgsuffix @@ -169,7 +166,7 @@ _kernuname="${pkgver}-${pkgsuffix}" arch=('x86_64') url="https://github.com/CachyOS/linux-cachyos" license=('GPL-2.0-only') -options=('!strip' '!debug' '!lto') +options=('!lto') makedepends=( bc libelf @@ -701,15 +698,6 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-dbg(){ - pkgdesc="Non-stripped vmlinux file for the $pkgdesc kernel" - depends=(${pkgbase}-headers) - - cd "${srcdir}/${_srcname}" - mkdir -p "$pkgdir/usr/src/debug/${pkgbase}" - install -Dt "$pkgdir/usr/src/debug/${pkgbase}" -m644 vmlinux -} - _package-zfs(){ pkgdesc="zfs module for the $pkgdesc kernel" depends=('pahole' $pkgbase=$_kernver) @@ -762,7 +750,6 @@ _package-nvidia-open(){ } pkgname=("$pkgbase") -[ -n "$_build_debug" ] && pkgname+=("$pkgbase-dbg") pkgname+=("$pkgbase-headers") [ -n "$_build_zfs" ] && pkgname+=("$pkgbase-zfs") [ -n "$_build_nvidia" ] && pkgname+=("$pkgbase-nvidia")