mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
Sync with CachyOS
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
parent
ca341d93fb
commit
ec235f98bd
1 changed files with 8 additions and 4 deletions
12
PKGBUILD
12
PKGBUILD
|
|
@ -200,7 +200,7 @@ makedepends=(
|
|||
)
|
||||
|
||||
_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"
|
||||
_nv_ver=575.64
|
||||
_nv_ver=575.64.03
|
||||
_nv_pkg="NVIDIA-Linux-x86_64-${_nv_ver}"
|
||||
_nv_open_pkg="NVIDIA-kernel-module-source-${_nv_ver}"
|
||||
source=(
|
||||
|
|
@ -349,7 +349,7 @@ prepare() {
|
|||
|
||||
if ! _is_lto_kernel; then
|
||||
echo "Enabling QR Code Panic for GCC Kernels"
|
||||
scripts/config --set-str DRM_PANIC_SCREEN qr-code -e DRM_PANIC_SCREEN_QR_CODE \
|
||||
scripts/config --set-str DRM_PANIC_SCREEN qr_code -e DRM_PANIC_SCREEN_QR_CODE \
|
||||
--set-str DRM_PANIC_SCREEN_QR_CODE_URL https://panic.archlinux.org/panic_report# \
|
||||
--set-val CONFIG_DRM_PANIC_SCREEN_QR_VERSION 40
|
||||
fi
|
||||
|
|
@ -648,9 +648,13 @@ _package-headers() {
|
|||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
if ! _is_lto_kernel; then
|
||||
echo "Installing Rust files..."
|
||||
# Install .rmeta files if they exist
|
||||
if compgen -G "rust/*.rmeta" 1>/dev/null; then
|
||||
install -Dt "$builddir/rust" -m644 rust/*.rmeta
|
||||
fi
|
||||
|
||||
# Install .so files if they exist
|
||||
if compgen -G "rust/*.so" 1>/dev/null; then
|
||||
install -Dt "$builddir/rust" rust/*.so
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue