-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrecipe.yml
More file actions
180 lines (165 loc) · 4.43 KB
/
recipe.yml
File metadata and controls
180 lines (165 loc) · 4.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
name: Vanilla VSO
id: vso
vibversion: 1.0.0
stages:
- id: build
base: debian:testing
addincludes: true
singlelayer: false
labels:
maintainer: Vanilla OS Contributors
args:
DEBIAN_FRONTEND: noninteractive
modules:
- name: apt-update
type: shell
commands:
- apt-get update
- name: base-files
type: dpkg-buildpackage
source:
type: git
url: https://github.com/Vanilla-OS/base-files.git
branch: main
commit: latest
paths:
- base-files
modules:
- name: base-files-deps-install
type: apt
sources:
- packages:
- dpkg-dev
- build-essential
- debhelper
- name: systemd
type: apt
sources:
- packages:
- systemd
- libpam-systemd
- name: distrobox-init-pkgs
type: apt
sources:
- packages:
- apt-utils
- bash-completion
- bc
- bzip2
- curl
- dialog
- diffutils
- findutils
- iproute2
- gnupg
- gnupg2
- gpgsm
- libkrb5-3
- libcap2-bin
- hostname
- iputils-ping
- less
- keyutils
- libnss-mdns
- libnss-myhostname
- libvte-2.9*-common
- libvte-common
- locales
- locales-all
- man-db
- manpages
- mtr
- lsof
- ncurses-base
- passwd
- pinentry-curses
- openssh-client
- procps
- sudo
- pigz
- time
- rsync
- tzdata
- util-linux
- wget
- unzip
- zip
- xauth
- tree
- tcpdump
- traceroute
- xz-utils
- libgl1
- libegl1
- libglx-mesa0
- libvulkan1
- mesa-vulkan-drivers
- polkitd
- pkexec
- name: miscellaneous
type: apt
sources:
- packages:
- nano
- apt-doc
- name: vanilla-tools
type: shell
sources:
- type: tar
url: https://github.com/Vanilla-OS/vanilla-tools/releases/download/v1.0.1/vanilla-tools-amd64.tar.gz
checksum: aef32f07820e0993e534e6bccfa1a6daae6c8c6f0543d3e073f4f121f2ef2e31
only-arches: [amd64]
- type: tar
url: https://github.com/Vanilla-OS/vanilla-tools/releases/download/v1.0.1/vanilla-tools-arm64.tar.gz
checksum: e59b098338de6f6071376e07ec79b17be6c8f0a0dd354fab128e1e86a36d0862
only-arches: [arm64]
commands:
- mkdir -p /usr/bin
- cp /sources/vanilla-tools/vanilla-tools*/vanilla-tools/nrun /usr/bin/nrun
- chmod +x /usr/bin/nrun
- cp /sources/vanilla-tools/vanilla-tools*/vanilla-tools/cur-gpu /usr/bin/cur-gpu
- chmod +x /usr/bin/cur-gpu
- name: host-aliases
type: shell
commands:
# host-shell links
- ln -s /usr/bin/host-shell /usr/bin/apx
- ln -s /usr/bin/host-shell /usr/bin/ikaros
- ln -s /usr/bin/host-shell /usr/bin/vanilla-sideload
- chmod +x /usr/bin/apx
- chmod +x /usr/bin/ikaros
- chmod +x /usr/bin/vanilla-sideload
# custom binaries
- chmod +x /usr/bin/abroot
- chmod +x /usr/bin/vso
# core binaries
- rm /usr/sbin/shutdown
- rm /usr/sbin/reboot
- rm /usr/sbin/poweroff
- ln -s /usr/bin/host-shell /usr/bin/shutdown
- ln -s /usr/bin/host-shell /usr/bin/reboot
- ln -s /usr/bin/host-shell /usr/bin/poweroff
- ln -s /usr/bin/host-shell /usr/bin/gsettings
- chmod +x /usr/bin/shutdown
- chmod +x /usr/bin/reboot
- chmod +x /usr/bin/poweroff
- chmod +x /usr/bin/gsettings
# shell binaries
- chmod +x /usr/bin/os-shell
- chmod +x /usr/bin/host-shell
# distrobox links
- sh /usr/share/apx/distrobox/gen-distrobox-links
- name: cleanup
type: shell
commands:
- apt autoremove -y
- apt clean
- name: add-manpath-config
type: shell
commands:
- mv /etc/man-path.config /etc/manpath.config
- name: enable-apt-hooks
type: shell
commands:
- chmod +x /usr/share/vso/hooks/*
- mv /etc/apt/___apt.conf.d/* /etc/apt/apt.conf.d/