-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdefault-raw-aarch64.yml
More file actions
74 lines (64 loc) · 1.93 KB
/
default-raw-aarch64.yml
File metadata and controls
74 lines (64 loc) · 1.93 KB
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
image:
name: minimal-os-image-ubuntu
version: "26.04"
target:
os: ubuntu # Target OS name
dist: ubuntu26 # Target OS distribution
arch: aarch64 # Target OS architecture
imageType: raw # Image type, valid value: [raw, iso].
disk:
name: Default_Raw # 1:1 mapping to the systemConfigs name
artifacts:
-
type: raw # image file format
compression: gz # image compression format (optional)
size: 6GiB # Increased to accommodate larger rootfs partition
partitionTableType: gpt # Partition table type, valid value: [gpt, mbr]
partitions: # Required for raw, optional for ISO, not needed for rootfs.
- id: boot
type: esp
flags:
- esp
- boot
start: 1MiB
end: 513MiB
fsType: fat32
mountPoint: /boot/efi
mountOptions: umask=0077
- id: rootfs
type: linux-root-arm64
start: 513MiB
end: 4557MiB # 513MiB + 4044MiB (4238528512 bytes) = 4557MiB
fsType: ext4
mountPoint: /
mountOptions: defaults
- id: roothashmap
type: linux
start: 4557MiB
end: 5057MiB # 4557MiB + 500MiB = 5057MiB
fsType: ext4
mountPoint: none
- id: userdata
type: linux
start: 5057MiB
end: "0" # Uses remaining space until end of disk
fsType: ext4
mountPoint: /opt
systemConfig:
name: Default_Raw
description: Default yml configuration for raw image
bootloader:
bootType: efi # (efi or legacy)
provider: systemd-boot # (grub for efi and legacy mode, or systemd-boot for efi mode)
immutability:
enabled: true # default is true
additionalFiles:
- local: ../additionalfiles/dhcp.network
final: /etc/systemd/network/dhcp.network
- local: ../additionalfiles/ubuntu-resolute.list
final: /etc/apt/sources.list.d/ubuntu-resolute.list
kernel:
version: "6.17"
cmdline: "console=ttyS0,115200 console=tty0 loglevel=7"
packages:
- linux-image-generic