vanilla-os-image/recipe.yml
K.B.Dharun Krishna 171b12a59a chore: bump Vib to v0.6.2
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-04-10 17:05:34 +02:00

72 lines
1.4 KiB
YAML

name: Custom Vanilla Desktop
id: vanilla-custom
stages:
- id: build
base: ghcr.io/vanilla-os/desktop:main
singlelayer: false
labels:
maintainer: self-maintained
args:
DEBIAN_FRONTEND: noninteractive
runs:
- echo 'APT::Install-Recommends "1";' > /etc/apt/apt.conf.d/01norecommends
modules:
- name: init-setup
type: shell
commands:
- lpkg --unlock
- apt-get update
# Put your custom actions behind this comment
- name: example-packages
type: apt
source:
packages:
- vim
- name: example-commands
type: shell
commands:
- echo Example output
- name: example-modules
type: includes
includes:
- modules/50-install-debs.yml
# Put your custom actions before this comment
- name: set-image-name-abroot
type: includes
includes:
- modules/80-set-image-abroot-config.yml
- 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