-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipe.yml
83 lines (75 loc) · 1.97 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
name: Lime LabWM Desktop
id: lime-labwm
stages:
- id: build
base: ghcr.io/kanola-images/base:main
singlelayer: false
labels:
maintainer: Kanola Contributors
args:
DEBIAN_FRONTEND: noninteractive
runs:
commands:
- echo 'APT::Install-Recommends "1";' > /etc/apt/apt.conf.d/01norecommends
modules:
- name: init-setup
type: shell
commands:
- lpkg --unlock
- apt update
- apt upgrade -y
- apt clean
- name: vanilla-tools
type: shell
source:
type: tar
# switch to production build once in production
url: https://github.com/Vanilla-OS/vanilla-tools/releases/download/continuous/vanilla-tools.tar.gz
commands:
- mkdir -p /usr/bin
- cp /sources/vanilla-tools/vanilla-tools/lpkg /usr/bin/lpkg
- cp /sources/vanilla-tools/vanilla-tools/cur-gpu /usr/bin/cur-gpu
- chmod +x /usr/bin/lpkg
- chmod +x /usr/bin/cur-gpu
- name: packages-modules
type: includes
includes:
- modules/20-labwm-core.yml
- modules/30-labwm-essentials.yml
- modules/35-vanilla-apps.yml
- modules/50-laptop-goodies.yml
- modules/60-media.yml
- modules/80-printers.yml
- modules/90-3d-utils.yml
- modules/161-labwm-utilities.yml
- modules/200-labwm-common.yml
- modules/996-labwm-cleanup.yml
- name: cleanup
type: shell
commands:
- apt autoremove -y
- apt clean
- lpkg --lock
- name: sysconf-setup
type: shell
commands:
- rsync -a /etc/ /sysconf/
- 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/share/init.d/010-fsguard.sh
- name: cleanup2
type: shell
commands:
- rm -rf /tmp/*
- rm -rf /var/tmp/*
- rm -rf /sources