Debian Codegraph @

extra/debos/machine/generic/actions.yaml

raw
1 {{- $architecture := or .architecture "i386" -}}
2 {{- $machine := or .machine "generic" -}}
3 {{- $project := or .project "pinball" -}}
4 {{- $suite := or .suite "bullseye" -}}
5 {{- $image := or .image (printf "%s-%s-%s.img" $project $architecture $machine) -}}
6
7 architecture: {{$architecture}}
8
9 actions:
10
11 - action: image-partition
12 imagename: {{$image}}
13 imagesize: 2GB
14 partitiontype: msdos
15 mountpoints:
16 - mountpoint: /
17 partition: root
18 partitions:
19 - name: root
20 fs: ext4
21 start: 512
22 end: 100%
23 flags: [boot]
24
25 - action: apt
26 packages:
27 {{if eq $architecture "i386" "amd64"}}
28 - grub-pc
29 {{end}}
30 {{if eq $suite "unstable" "sid" "testing" "bullseye"}}
31 - linux-image-generic
32 {{else}}
33 {{if eq $suite "buster" "stable"}}
34 {{if eq $architecture "i386"}}
35 - linux-image-686
36 {{else}}
37 - linux-image-{{$architecture}}
38 {{end}}
39 {{end}}
40 {{end}}
41 - firmware-linux-free
42 - firmware-linux-nonfree
43