Skip to content

Commit 477ab21

Browse files
committed
adding the updates
1 parent 21c21f3 commit 477ab21

File tree

5 files changed

+230
-0
lines changed

5 files changed

+230
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
essential:
2+
- dpkg
3+
- apt
4+
- debianutils
5+
- init-system-helpers
6+
- dash
7+
- mount
8+
- sysvinit-utils
9+
- gzip
10+
- bash
11+
- util-linux
12+
- tar
13+
- base-files
14+
- base-passwd
15+
- sed
16+
- bsdutils
17+
- coreutils
18+
- findutils
19+
- grep
20+
- login
21+
- perl-base
22+
- diffutils
23+
- libc-bin
24+
- hostname
25+
- ncurses-bin
26+
- ncurses-base
27+
28+
packages:
29+
- mmdebstrap
30+
- grub-efi-arm64-bin
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
image:
2+
name: minimal-os-image-ubuntu
3+
version: "24.04"
4+
5+
target:
6+
os: ubuntu # Target OS name
7+
dist: ubuntu24 # Target OS distribution
8+
arch: aarch64 # Target OS architecture
9+
imageType: raw # Image type, valid value: [raw, iso].
10+
11+
disk:
12+
name: Default_Raw # 1:1 mapping to the systemConfigs name
13+
artifacts:
14+
-
15+
type: raw # image file format
16+
compression: gz # image compression format (optional)
17+
size: 6GiB # Increased to accommodate larger rootfs partition
18+
partitionTableType: gpt # Partition table type, valid value: [gpt, mbr]
19+
partitions: # Required for raw, optional for ISO, not needed for rootfs.
20+
- id: boot
21+
type: esp
22+
flags:
23+
- esp
24+
- boot
25+
start: 1MiB
26+
end: 513MiB
27+
fsType: fat32
28+
mountPoint: /boot/efi
29+
mountOptions: umask=0077
30+
31+
- id: rootfs
32+
type: linux-root-amd64
33+
start: 513MiB
34+
end: 4557MiB # 513MiB + 4044MiB (4238528512 bytes) = 4557MiB
35+
fsType: ext4
36+
mountPoint: /
37+
mountOptions: defaults, ro
38+
39+
- id: roothashmap
40+
type: linux
41+
start: 4557MiB
42+
end: 5057MiB # 4557MiB + 500MiB = 5057MiB
43+
fsType: ext4
44+
mountPoint: none
45+
46+
- id: userdata
47+
type: linux
48+
start: 5057MiB
49+
end: "0" # Uses remaining space until end of disk
50+
fsType: ext4
51+
mountPoint: /opt
52+
53+
systemConfig:
54+
name: Default_Raw
55+
description: Default yml configuration for raw image
56+
57+
bootloader:
58+
bootType: efi # (efi or legacy)
59+
provider: systemd-boot # (grub for efi and legacy mode, or systemd-boot for efi mode)
60+
61+
immutability:
62+
enabled: true # default is true
63+
64+
additionalFiles:
65+
- local: ../additionalfiles/dhcp.network
66+
final: /etc/systemd/network/dhcp.network
67+
- local: ../additionalfiles/ubuntu-noble.list
68+
final: /etc/apt/sources.list.d/ubuntu-noble.list
69+
70+
kernel:
71+
version: "6.14"
72+
cmdline: "console=ttyS0,115200 console=tty0 loglevel=7"
73+
packages:
74+
- linux-image-generic-hwe-24.04
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
repositories:
2+
- name: "noble"
3+
type: "deb" # Repository type: rpm or deb
4+
baseURL: "http://archive.ubuntu.com/ubuntu"
5+
pkgPrefix: "http://archive.ubuntu.com/ubuntu"
6+
releaseFile: "http://archive.ubuntu.com/ubuntu/dists/noble/Release"
7+
releaseSign: "http://archive.ubuntu.com/ubuntu/dists/noble/Release.gpg"
8+
pbGPGKey: "/usr/share/keyrings/ubuntu-archive-keyring.gpg"
9+
gpgCheck: true
10+
repoGPGCheck: true
11+
enabled: true
12+
component: "main restricted universe multiverse" # Repository component/section identifier
13+
buildPath: "./builds/ubuntu24/main" # Will be replaced with temp_dir/builds/ubuntu24/main at runtime
14+
- name: "noble-security"
15+
type: "deb"
16+
baseURL: "http://security.ubuntu.com/ubuntu"
17+
pkgPrefix: "http://security.ubuntu.com/ubuntu"
18+
releaseFile: "http://security.ubuntu.com/ubuntu/dists/noble-security/Release"
19+
releaseSign: "http://security.ubuntu.com/ubuntu/dists/noble-security/Release.gpg"
20+
pbGPGKey: "/usr/share/keyrings/ubuntu-archive-keyring.gpg"
21+
gpgCheck: true
22+
repoGPGCheck: true
23+
enabled: true
24+
component: "main restricted universe multiverse"
25+
buildPath: "./builds/ubuntu24/security" # Will be replaced with temp_dir/builds/ubuntu24/security at runtime
26+
- name: "noble-updates"
27+
type: "deb"
28+
baseURL: "http://archive.ubuntu.com/ubuntu"
29+
pkgPrefix: "http://archive.ubuntu.com/ubuntu"
30+
releaseFile: "http://archive.ubuntu.com/ubuntu/dists/noble-updates/Release"
31+
releaseSign: "http://archive.ubuntu.com/ubuntu/dists/noble-updates/Release.gpg"
32+
pbGPGKey: "/usr/share/keyrings/ubuntu-archive-keyring.gpg"
33+
gpgCheck: true
34+
repoGPGCheck: true
35+
enabled: true
36+
component: "main restricted universe multiverse"
37+
buildPath: "./builds/ubuntu24/updates" # Will be replaced with temp_dir/builds/ubuntu24/updates at runtime
38+
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
repositories:
2+
- name: "noble"
3+
type: "deb" # Repository type: rpm or deb
4+
baseURL: "http://ports.ubuntu.com/ubuntu-ports"
5+
pkgPrefix: "http://ports.ubuntu.com/ubuntu-ports"
6+
releaseFile: "http://ports.ubuntu.com/ubuntu-ports/dists/noble/Release"
7+
releaseSign: "http://ports.ubuntu.com/ubuntu-ports/dists/noble/Release.gpg"
8+
pbGPGKey: "/usr/share/keyrings/ubuntu-archive-keyring.gpg"
9+
gpgCheck: true
10+
repoGPGCheck: true
11+
enabled: true
12+
component: "main restricted universe multiverse" # Repository component/section identifier
13+
buildPath: "./builds/ubuntu24/aarch64-main" # Will be replaced with temp_dir/builds/ubuntu24/aarch64-main at runtime
14+
- name: "noble-security"
15+
type: "deb"
16+
baseURL: "http://ports.ubuntu.com/ubuntu-ports"
17+
pkgPrefix: "http://ports.ubuntu.com/ubuntu-ports"
18+
releaseFile: "http://ports.ubuntu.com/ubuntu-ports/dists/noble-security/Release"
19+
releaseSign: "http://ports.ubuntu.com/ubuntu-ports/dists/noble-security/Release.gpg"
20+
pbGPGKey: "/usr/share/keyrings/ubuntu-archive-keyring.gpg"
21+
gpgCheck: true
22+
repoGPGCheck: true
23+
enabled: true
24+
component: "main restricted universe multiverse"
25+
buildPath: "./builds/ubuntu24/aarch64-security" # Will be replaced with temp_dir/builds/ubuntu24/aarch64-security at runtime
26+
- name: "noble-updates"
27+
type: "deb"
28+
baseURL: "http://ports.ubuntu.com/ubuntu-ports"
29+
pkgPrefix: "http://ports.ubuntu.com/ubuntu-ports"
30+
releaseFile: "http://ports.ubuntu.com/ubuntu-ports/dists/noble-updates/Release"
31+
releaseSign: "http://ports.ubuntu.com/ubuntu-ports/dists/noble-updates/Release.gpg"
32+
pbGPGKey: "/usr/share/keyrings/ubuntu-archive-keyring.gpg"
33+
gpgCheck: true
34+
repoGPGCheck: true
35+
enabled: true
36+
component: "main restricted universe multiverse"
37+
buildPath: "./builds/ubuntu24/aarch64-updates" # Will be replaced with temp_dir/builds/ubuntu24/aarch64-updates at runtime
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
image:
2+
name: minimal-os-image-ubuntu
3+
version: "24.04"
4+
5+
target:
6+
os: ubuntu
7+
dist: ubuntu24
8+
arch: aarch64
9+
imageType: raw
10+
11+
# Sample list of additional package repositories; replace codename, url, and pkey values as needed
12+
packageRepositories:
13+
- codename: "company-internal"
14+
url: "<URL>"
15+
pkey: "<PUBLIC_KEY_URL>" # Uncomment and replace in real config
16+
component: "main"
17+
18+
- codename: "dev-tools"
19+
url: "<URL>"
20+
pkey: "<PUBLIC_KEY_URL>" # Uncomment and replace in real config
21+
22+
- codename: "intel-openvino"
23+
url: "<URL>"
24+
pkey: "<PUBLIC_KEY_URL>" # Uncomment and replace in real config
25+
component: "restricted"
26+
27+
systemConfig:
28+
name: minimal
29+
description: Minimal ubuntu image
30+
31+
immutability:
32+
enabled: false # default is true
33+
# To enable Secure Boot, provide the actual file paths for your environment below and uncomment the relevant lines.
34+
# secureBootDBKey: "<SECURE_BOOT_DB_KEY_PATH>"
35+
# secureBootDBCrt: "<SECURE_BOOT_DB_CRT_PATH>"
36+
# secureBootDBCer: "<SECURE_BOOT_DB_CER_PATH>"
37+
38+
packages:
39+
- ubuntu-minimal
40+
- systemd-boot
41+
- dracut-core
42+
- systemd
43+
- cryptsetup-bin
44+
- openssh-server
45+
- systemd-resolved
46+
47+
kernel:
48+
version: "6.14"
49+
cmdline: "console=ttyS0,115200 console=tty0 loglevel=7"
50+
packages:
51+
- linux-image-generic-hwe-24.04

0 commit comments

Comments
 (0)