forked from FemboyOS/fempkg_recipes
nvidia: download just pappalaugh cuz if no nvidia why download full source
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
pkgname = "nvidia"
|
||||
pkgver = "580.119.02"
|
||||
kernel_ver = "6.18.2"
|
||||
source = f"https://rocketleaguechatp.duckdns.org/kernel-source-prep-{kernel_ver}.tar.xz"
|
||||
source = f"https://rocketleaguechatp.duckdns.org/pappalaugh.jpg"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
krl_src = f"https://rocketleaguechatp.duckdns.org/kernel-source-prep-{kernel_ver}.tar.xz"
|
||||
|
||||
deps = ["linux"]
|
||||
|
||||
@@ -12,7 +13,7 @@ build = [
|
||||
f"mkdir -p {builddir} && cd {fembuilddir} && mkdir -pv /var/tmp/fempkg/build/linux/linux-{kernel_ver}",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && if [ -f \"/var/lib/fempkg/nvidia\" ]; then "
|
||||
f"cd {builddir} && if [ -f \"/var/lib/fempkg/nvidia\" ]; then wget {krl_src} -O /var/lib/fempkg/pkgs/kernel-source-prep-{kernel_ver}.tar.xz && "
|
||||
f"tar -xvf /var/lib/fempkg/pkgs/kernel-source-prep-{kernel_ver}.tar.xz -C /var/tmp/fempkg/build/linux/linux-{kernel_ver}/ && "
|
||||
f"wget https://us.download.nvidia.com/XFree86/Linux-x86_64/{pkgver}/NVIDIA-Linux-x86_64-{pkgver}.run "
|
||||
f"https://glfs-book.github.io/glfs/download/NVIDIA/install-NVIDIA-1 https://glfs-book.github.io/glfs/download/NVIDIA/manifest-NVIDIA-1 && "
|
||||
|
||||
Reference in New Issue
Block a user