Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
config BR2_PACKAGE_NVIDIA_PERSISTENCED
bool "nvidia-persistenced"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
help
NVIDIA driver persistence daemon.
https://github.com/NVIDIA/nvidia-persistenced
comment "nvidia-persistenced needs a toolchain w/ threads, dynamic libs"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

View File

@@ -0,0 +1 @@
u nvidia-persistenced - 'NVIDIA Persistence Daemon'

View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 ad4e54757c743256a8129c9b543eb6f2fb27cd6b7b20a5ac201330aed90aa1ab nvidia-persistenced-580.95.05.tar.gz
sha256 279d814320adc07ca5a4ee101a0b428ddf22a6f3513b8c051f9eb7be47b2e797 COPYING

View File

@@ -0,0 +1,47 @@
################################################################################
#
# nvidia-persistenced
#
################################################################################
NVIDIA_PERSISTENCED_VERSION = 580.95.05
NVIDIA_PERSISTENCED_SITE = $(call github,NVIDIA,nvidia-persistenced,$(NVIDIA_PERSISTENCED_VERSION))
NVIDIA_PERSISTENCED_LICENSE = MIT
NVIDIA_PERSISTENCED_LICENSE_FILES = COPYING
NVIDIA_PERSISTENCED_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
NVIDIA_PERSISTENCED_DEPENDENCIES += libtirpc
endif
define NVIDIA_PERSISTENCED_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
OUTPUTDIR=. ./nvidia-persistenced.unstripped
endef
define NVIDIA_PERSISTENCED_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/nvidia-persistenced.unstripped \
$(TARGET_DIR)/usr/bin/nvidia-persistenced
endef
ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y)
define NVIDIA_PERSISTENCED_INSTALL_SYSTEMD_SYSUSERS
$(INSTALL) -D -m 0644 $(NVIDIA_PERSISTENCED_PKGDIR)/nvidia-persistenced.conf \
$(TARGET_DIR)/usr/lib/sysusers.d/nvidia-persistenced.conf
endef
else
define NVIDIA_PERSISTENCED_USERS
nvidia-persistenced -1 nvidia-persistenced -1 * - - - NVIDIA Persistence Daemon
endef
endif
define NVIDIA_PERSISTENCED_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 $(@D)/init/systemd/nvidia-persistenced.service.template \
$(TARGET_DIR)/usr/lib/systemd/system/nvidia-persistenced.service
$(SED) 's/__USER__/nvidia-persistenced/g' \
$(TARGET_DIR)/usr/lib/systemd/system/nvidia-persistenced.service
$(NVIDIA_PERSISTENCED_INSTALL_SYSTEMD_SYSUSERS)
endef
$(eval $(generic-package))