-
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
apertis-ospack-devroot.yaml 9.75 KiB
{{- $architecture := or .architecture "amd64" }}
{{- $type := or .type "devroot" -}}
{{- $mirror := or .mirror "https://repositories.apertis.org/apertis/" -}}
{{- $suite := or .suite "18.12" -}}
{{- $timestamp := or .timestamp "00000000.0" -}}
{{- $ospack := or .ospack (printf "ospack_%s-%s-%s_%s" $suite $architecture $type $timestamp) -}}
{{- $ivitools := or .ivitools "enabled" -}}
{{- $lxc := or .lxc "enabled" -}}
architecture: {{ $architecture }}
actions:
- action: debootstrap
suite: {{ $suite }}
components:
- target
mirror: {{ $mirror }}
variant: minbase
keyring-package: apertis-archive-keyring
keyring-file: keyring/apertis-archive-keyring.gpg
merged-usr: false
# Add image version information
- action: run
description: "Setting up image version metadata"
chroot: true
script: scripts/setup_image_version.sh apertis {{ $suite }} {{ $timestamp }} collabora {{ $type }}
# Extend apt sources list
- action: run
chroot: true
script: scripts/apt_source.sh -m {{ $mirror }} -r {{ $suite }} target
{{ if eq $ivitools "enabled" }}
- action: run
chroot: true
script: scripts/apt_source.sh -m {{ $mirror }} -r {{ $suite }} hmi helper-libs
{{ end }}
# Add type-based apt sources list
- action: run
chroot: true
script: scripts/apt_source.sh -m {{ $mirror }} -r {{ $suite }} development
- action: run
chroot: true
script: scripts/replace-tar-coreutils-for-build.sh
- action: apt
description: "Core packages"
packages:
- sudo
- apt-transport-https
- apertis-customizations
- initramfs-tools
- action: apt
description: "Base packages"
packages:
- busybox
- busybox-initramfs
- dbus-user-session
- action: apt
description: "Networking packages"
packages:
- connman
- wpasupplicant
- action: apt