Hello reviewers!
I am in the process of setting up the nvidia-kernel snap, which will contain the linux-nvidia Ubuntu kernel flavor. We would like it to be capable of providing the same slots as the pc-kernel snap, for the same purposes as the pc-kernel snap. These are necessary as, like the pc-kernel snap, the nvidia-kernel snap provides several NVIDIA graphics driver versions as snap components.
- name: nvidia-kernel
- description: The Ubuntu nvidia kernel package as a snap
- snapcraft: link to snapcraft.yaml
- upstream: PRIVATE
- upstream-relation: N/A
- interfaces: requesting the same interfaces as pc-kernel, all needed to allow classic userspace to attach and consume the various components, as shown below:
slots:
content:
allow-auto-connection:
plug-attributes:
content: $SLOT(content)
plug-publisher-id:
- $SLOT_PUBLISHER_ID
slot-attributes:
content: kernel-gpu-2404
allow-connection:
plug-attributes:
content: $SLOT(content)
slot-attributes:
content: kernel-gpu-2404
allow-installation: true
cuda-driver-libs:
allow-installation: true
deny-auto-connection: true
egl-driver-libs:
allow-installation: true
deny-auto-connection: true
gbm-driver-libs:
allow-installation: true
deny-auto-connection: true
opengl-driver-libs:
allow-installation: true
deny-auto-connection: true
opengles-driver-libs:
allow-installation: true
deny-auto-connection: true
vulkan-driver-libs:
allow-installation: true
deny-auto-connection: true