Skip to content

Commit 2dcde55

Browse files
committed
fix: update recipe to new vib syntax
1 parent f9685e1 commit 2dcde55

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

recipe.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: Vanilla Desktop Nvidia
22
id: nvidia
3+
vibversion: 1.0.7
4+
35
stages:
46
- id: build
57
base: ghcr.io/vanilla-os/desktop:dev
8+
addincludes: true
69
singlelayer: false
710
labels:
811
maintainer: Vanilla OS Contributors
@@ -21,13 +24,13 @@ stages:
2124

2225
- name: install-nvidia
2326
type: apt
24-
source:
25-
packages:
26-
- nvidia-driver
27-
- nvidia-vaapi-driver
28-
- nvidia-settings
29-
- nvidia-smi
30-
- firmware-misc-nonfree
27+
sources:
28+
- packages:
29+
- nvidia-driver
30+
- nvidia-vaapi-driver
31+
- nvidia-settings
32+
- nvidia-smi
33+
- firmware-misc-nonfree
3134

3235
- name: nvidia-sysd-units
3336
type: shell
@@ -40,20 +43,20 @@ stages:
4043

4144
- name: extra-utilities
4245
type: apt
43-
source:
44-
packages:
45-
- switcheroo-control
46+
sources:
47+
- packages:
48+
- switcheroo-control
4649

4750
- name: vanilla-tools
4851
type: shell
49-
source:
50-
type: tar
51-
url: https://github.com/Vanilla-OS/vanilla-tools/releases/download/v1.0.0/vanilla-tools.tar.gz
52-
checksum: 0e1d92d9c9154f9a115e97b40ff692afa52ddd0d9f770a8ec67440bf1a48aa72
52+
sources:
53+
- type: tar
54+
url: https://github.com/Vanilla-OS/vanilla-tools/releases/download/v1.0.0/vanilla-tools.tar.gz
55+
checksum: 0e1d92d9c9154f9a115e97b40ff692afa52ddd0d9f770a8ec67440bf1a48aa72
5356
commands:
5457
- mkdir -p /usr/bin
55-
- cp /sources/vanilla-tools/vanilla-tools/nrun /usr/bin/nrun
56-
- cp /sources/vanilla-tools/vanilla-tools/prime-switch /usr/bin/prime-switch
58+
- cp /sources/vanilla-tools/vanilla-tools/vanilla-tools/nrun /usr/bin/nrun
59+
- cp /sources/vanilla-tools/vanilla-tools/vanilla-tools/prime-switch /usr/bin/prime-switch
5760
- chmod +x /usr/bin/nrun
5861
- chmod +x /usr/bin/prime-switch
5962

@@ -91,4 +94,3 @@ stages:
9194
commands:
9295
- rm -rf /tmp/*
9396
- rm -rf /var/tmp/*
94-
- rm -rf /sources

0 commit comments

Comments
 (0)