diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD index f6054804..d8cddf76 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 cpio @@ -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 "${_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-deckify/PKGBUILD b/linux-cachyos-deckify/PKGBUILD index c5373a2f..664dedd5 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 cpio @@ -703,15 +700,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 "${_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}") @@ -764,7 +752,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 8709ae42..2c812afb 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 cpio @@ -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 "${_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-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILD index db1afba6..b9a84a55 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 cpio @@ -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 "${_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-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD index 2128518f..8671a345 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 cpio @@ -699,15 +696,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 "${_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}") @@ -760,7 +748,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 7317ce06..66501bd6 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 cpio @@ -768,15 +765,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 "${_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}") @@ -829,7 +817,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 b5376d04..94f25806 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 cpio @@ -703,15 +700,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 "${_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}") @@ -764,7 +752,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 6a7d07bb..a7d1b811 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 cpio @@ -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 "${_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-sched-ext/PKGBUILD b/linux-cachyos-sched-ext/PKGBUILD index 53138748..f3f0df81 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 cpio @@ -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 "${_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-server/PKGBUILD b/linux-cachyos-server/PKGBUILD index 84e501cf..eecfb8bd 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 cpio @@ -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 "${_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/PKGBUILD b/linux-cachyos/PKGBUILD index 828b9c7b..2b174ae5 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 cpio @@ -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 "${_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")