-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdefault-raw-aarch64.yml
More file actions
99 lines (86 loc) · 3.25 KB
/
default-raw-aarch64.yml
File metadata and controls
99 lines (86 loc) · 3.25 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
image:
name: rcd10-default-aarch64
version: "1.0.0"
target:
os: redhat-compatible-distro # Target OS name
dist: el10 # 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: 4GiB # 4G, 4GB, 4096 MiB also valid. (Required for raw)
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-amd64
start: 513MiB
end: 2561MiB # 513MiB + 2GiB (2048MiB) = 2561MiB
fsType: ext4
mountPoint: /
mountOptions: defaults, ro
- id: roothashmap
type: linux
start: 2561MiB
end: 3061MiB # 2561MiB + 500MiB = 3061MiB
fsType: ext4
mountPoint: none
- id: userdata
type: linux
start: 3061MiB
end: "0" # 2561MiB + 2GiB (2048MiB) = 4609MiB
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
packages:
# --- MINIMUM BOOTABLE BASE ---
- basesystem # The skeleton of the OS structure
- filesystem # Provides the basic directory layout (/, /etc, /usr, etc.)
- setup # Contains fundamental system configuration files (like /etc/passwd)
- glibc # The core C library for almost all binaries
- bash # The shell required for init scripts
- coreutils # Basic commands (ls, cp, mkdir) required during boot
- systemd # The init system (PID 1)
- util-linux # Required for mounting filesystems (mount, fdisk)
- kernel # The Linux kernel itself
- kernel-core # Essential kernel modules for hardware/filesystem support
- dracut # Used to generate the initramfs to find the root disk
- dnf # Even a minimum build needs a way to install more packages
# --- BOOTLOADER (For UEFI/UKI) ---
- grub2-common # The EFI boot manager
- shim-x64 # Necessary for UEFI handover
# --- MINIMUM CONFIGURATION ---
- hostname # To identify the system
- shadow-utils # To manage users/root password
- iproute # Minimum networking tool to bring up an interface
- ncurses # Required for terminal display
additionalFiles:
- local: ../additionalfiles/99-dhcp-en.network
final: /etc/systemd/network/99-dhcp-en.network
kernel:
name: kernel
cmdline: "console=ttyS0,115200 console=tty0 loglevel=7"
enableExtraModules: "usbcore usb-common"
packages:
- kernel
uki: true