Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ combinations. The table below lists the OS and architecture combinations that ar
| Red Hat Compatible Distro | rcd10 | x86_64 |
| Wind River eLxr | elxr12 | x86_64 |
| Ubuntu | ubuntu24 | x86_64 |
| Ubuntu | ubuntu26 | x86_64 |

## Quick Start

Expand Down
30 changes: 30 additions & 0 deletions config/osv/ubuntu/ubuntu26/chrootenvconfigs/chrootenv_aarch64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
essential:
- dpkg
- apt
- debianutils
- init-system-helpers
- dash
- mount
- sysvinit-utils
- gzip
- bash
- util-linux
- tar
- base-files
- base-passwd
- sed
- bsdutils
- coreutils
- findutils
- grep
- login
- perl-base
- diffutils
- libc-bin
- hostname
- ncurses-bin
- ncurses-base

packages:
- mmdebstrap
- grub-efi-arm64-bin
31 changes: 31 additions & 0 deletions config/osv/ubuntu/ubuntu26/chrootenvconfigs/chrootenv_x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
essential:
- dpkg
- apt
- debianutils
- init-system-helpers
- dash
- mount
- sysvinit-utils
- gzip
- bash
- util-linux
- tar
- base-files
- base-passwd
- sed
- bsdutils
- coreutils
- findutils
- grep
- login
- perl-base
- diffutils
- libc-bin
- hostname
- ncurses-bin
- ncurses-base

packages:
- mmdebstrap
- grub-pc-bin
- grub-efi-amd64-bin
1 change: 1 addition & 0 deletions config/osv/ubuntu/ubuntu26/chrootenvconfigs/local.list
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deb [trusted=yes] file:///cdrom/cache-repo stable main
15 changes: 15 additions & 0 deletions config/osv/ubuntu/ubuntu26/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Canonical Ubuntu 26.04 LTS OS Configuration
# This file defines architecture-specific build configurations for Canonical Ubuntu 26.04 LTS

x86_64:
dist: ubuntu26 # Distribution identifier
arch: x86_64 # Target architecture
pkgType: deb # Package management system
chrootenvConfigFile: chrootenvconfigs/chrootenv_x86_64.yml # Path to chrootenv config
releaseVersion: "26.04" # Distribution release version
aarch64:
dist: ubuntu26 # Distribution identifier
arch: aarch64 # Target architecture
pkgType: deb # Package management system
chrootenvConfigFile: chrootenvconfigs/chrootenv_aarch64.yml # Path to chrootenv config
releaseVersion: "26.04" # Distribution release version
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Match]
Name=en*

[Network]
DHCP=yes
IPv6AcceptRA=no

[DHCPv4]
SendRelease=false
ClientIdentifier=mac
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Service]
ExecStart=
ExecStart=-/sbin/agetty --noclear --autologin root --keep-baud %I $TERM

# Default to tty1 but allow other choices
[Install]
Alias=getty.target.wants/getty@tty1.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Service]
ExecStart=
ExecStart=-/sbin/agetty --noclear --autologin root --keep-baud %I $TERM

# Default to ttyS0 but allow other choices
[Install]
Alias=getty.target.wants/serial-getty@ttyS0.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
deb http://archive.ubuntu.com/ubuntu resolute main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu resolute-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu resolute-security main restricted universe multiverse
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
image:
name: minimal-os-image-ubuntu
version: "26.04"

target:
os: ubuntu
dist: ubuntu26
arch: x86_64
imageType: img # Image type, valid value: [raw, iso].

systemConfig:
name: Default_Initrd
description: Default yml configuration for initrd image

bootloader:
bootType: efi # (efi or legacy)
provider: grub # (grub for efi and legacy mode, or systemd-boot for efi mode)

packages:
- ca-certificates
- vim
- sudo
- net-tools
- openssh-client
- openssh-server
- procps
- less
- dbus
- policykit-1
- dosfstools
- efibootmgr
- eject
- curl
- mmdebstrap
- wget
- cryptsetup
- systemd-resolved
- cloud-guest-utils
- xterm
- initramfs-tools
- systemd-boot
- grub-pc-bin
- grub-efi-amd64-bin


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
- local: ../additionalfiles/getty@.service
final: /usr/lib/systemd/system/getty@.service
- local: ../additionalfiles/serial-getty@.service
final: /usr/lib/systemd/system/serial-getty@.service
- local: ../../../../../../general/isolinux/attendedinstaller
final: /root/attendedinstaller
- local: ../../../../../../../build/live-installer
final: /usr/bin/live-installer

users:
- name: root
startupScript: "/root/attendedinstaller"

kernel:
name: kernel
version: "6.17"
cmdline: "console=ttyS0,115200 console=tty0 loglevel=7"
packages:
- linux-image-generic
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
image:
name: minimal-os-image-ubuntu
version: "26.04"

target:
os: ubuntu
dist: ubuntu26
arch: x86_64
imageType: iso # Image type, valid value: [raw, iso].

disk:
name: Default_ISO
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

- id: rootfs
type: linux-root-amd64
start: 513MiB
end: "0" # 0 means use the rest of the disk space
fsType: ext4
mountPoint: /

systemConfig: # Required
name: Default_ISO
description: Default yml configuration for iso image

initramfs:
template: default-initrd-x86_64.yml

bootloader:
bootType: efi # (efi or legacy)
provider: grub # (grub for efi and legacy mode, or systemd-boot for efi mode)

packages:
- ubuntu-minimal
- grub2-common
- grub-efi-amd64-bin
- initramfs-tools
- dracut-core
- systemd
- cryptsetup-bin
- systemd-resolved
- efibootmgr

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:
name: kernel
packages:
- linux-image-generic
Original file line number Diff line number Diff line change
@@ -0,0 +1,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
Loading
Loading