This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
generated from Vanilla-OS/custom-image
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipe.yml
92 lines (85 loc) · 2.3 KB
/
recipe.yml
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
base: ghcr.io/vanilla-os/core:main
name: Vanilla OS XFCE Desktop
id: vanilla-xfce
labels:
maintainer: self-maintained
args:
DEBIAN_FRONTEND: noninteractive
modules:
- name: init-setup
type: shell
commands:
- echo 'PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"' > /etc/environment
- sed -i '4,10d' /etc/profile
- apt update
- apt upgrade -y
- apt clean
- apt-mark hold snapd gnome-software-plugin-snap
- apt -y install squashfs-tools minisign
- name: vanilla-tools
type: shell
source:
type: tar
url: https://github.com/Vanilla-OS/vanilla-tools/releases/download/continuous/vanilla-tools.tar.gz
commands:
- mkdir -p /usr/bin
- cp /sources/vanilla-tools/lpkg /usr/bin/lpkg
- cp /sources/vanilla-tools/cur-gpu /usr/bin/cur-gpu
- chmod +x /usr/bin/lpkg
- chmod +x /usr/bin/cur-gpu
# Start custom actions
- name: package-modules
type: includes
includes:
- modules/00-vanilla-desktop-base
- modules/00-vanilla-backgrounds
- modules/00-vanilla-first-setup
- modules/00-vanilla-system-operator
- modules/00-vanilla-apx-gui
- modules/00-vanilla-tour
- modules/00-vanilla-sideload
- modules/00-vanilla-updates-utility
- modules/02-waydroid-modules
- modules/03-fswarn
- modules/10-vanilla-abroot-rollback-notifier
- modules/20-xfce-core
- modules/50-laptop-goodies
- modules/60-media
- modules/80-printers
- modules/90-3d-utils
- modules/100-accessibility
- modules/110-fonts
- modules/120-network
- modules/130-plymouth
- modules/131-plymouth-theme-vanilla
- modules/140-password
- modules/160-utilities
- modules/210-libs-extra
- modules/51-install-debs
- modules/81-set-image-abroot-config
# End custom actions
- name: cleanup
type: shell
commands:
- apt-get autoremove -y
- apt-get clean
- lpkg --lock
- name: fsguard
type: fsguard
CustomFsGuard: false
FsGuardLocation: "/usr/sbin/FsGuard"
GenerateKey: true
FilelistPaths: ["/usr/bin"]
modules:
- name: remove-prev-fsguard
type: shell
commands:
- rm -rf /FsGuard
- rm -f ./minisign.pub ./minisign.key
- chmod +x /usr/sbin/init
- name: cleanup2
type: shell
commands:
- rm -rf /tmp/*
- rm -rf /var/tmp/*
- rm -rf /sources