Skip to content
Open
Changes from all 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
44 changes: 19 additions & 25 deletions image-templates/ubuntu24-x86_64-minimal-ptl-pv-raw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ disk:
# Request conversion to raw
- type: raw
compression: gz
size: 32GiB
size: 64GiB
# GPT partition table per installer spec
partitionTableType: gpt
partitions:
Expand All @@ -60,7 +60,7 @@ disk:
typeUUID: 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
fsType: linux-swap
start: 1025MiB
end: 3073MiB
end: 9217MiB
Copy link
Copy Markdown
Contributor

@arodage arodage Jun 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 GB to 8 GB. That's a large swap for most edge workloads. If this is intentional for PTL PV then you may want to document.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i increased to 8GB as out current silver PMSST test case expects 8GB Swap , i can make it local change as it is not required for external image

mountPoint: none
mountOptions: sw
flags: []
Expand All @@ -71,7 +71,7 @@ disk:
# Standard Linux root filesystem GUID for x86_64
typeUUID: 4f68bce3-e8cd-4db1-96e7-fbcaf984b709
fsType: ext4
start: 3073MiB
start: 9217MiB
end: "0"
mountPoint: /
mountOptions: defaults
Expand Down Expand Up @@ -112,7 +112,7 @@ packageRepositories:
- gstreamer1.0-rtsp
- gstreamer1.0-tools
- gstreamer1.0-x
- intel-media-va-driver-non-free
- intel-media-va-driver
- libdrm-amdgpu1
- libdrm-common
- libdrm-dev
Expand All @@ -130,7 +130,6 @@ packageRepositories:
- libgstreamer-plugins-base1.0-0
- libgstreamer-plugins-base1.0-dev
- libgstreamer-plugins-good1.0-0
- libgstreamer-plugins-good1.0-dev
- libgstreamer1.0-0
- libgstreamer1.0-dev
- libigdgmm-dev
Expand Down Expand Up @@ -217,7 +216,6 @@ packageRepositories:
- gcc
- git
- intel-gpu-tools
- libssl3t64
- libssl-dev
- make
- mosquitto
Expand Down Expand Up @@ -264,8 +262,8 @@ packageRepositories:
- dbus-x11
- sg3-utils
- rpm
- linux-image-6.17-intel
- linux-headers-6.17-intel
- linux-headers-6.18-intel
- linux-image-6.18-intel
# overlay dependencies
- libvpl2
- mesa-libgallium
Expand All @@ -287,6 +285,7 @@ packageRepositories:
- libweston-10-0
- xnest
- xvfb
- dnsmasq-base


systemConfig:
Expand All @@ -301,6 +300,7 @@ systemConfig:
enabled: false # default is true

packages:
- libssl3t64
- bluez
- bsdutils
- cloud-utils
Expand Down Expand Up @@ -386,7 +386,6 @@ systemConfig:
- gstreamer1.0-rtsp
- gstreamer1.0-tools
- gstreamer1.0-x
- intel-media-va-driver-non-free
- libdrm-amdgpu1
- libdrm-common
- libdrm-dev
Expand All @@ -404,7 +403,6 @@ systemConfig:
- libgstreamer-plugins-base1.0-0
- libgstreamer-plugins-base1.0-dev
- libgstreamer-plugins-good1.0-0
- libgstreamer-plugins-good1.0-dev
- libgstreamer1.0-0
- libgstreamer1.0-dev
- libigdgmm-dev
Expand All @@ -429,9 +427,6 @@ systemConfig:
- libxatracker2
- linux-firmware
- mesa-utils
- mesa-va-drivers
- mesa-vdpau-drivers
- mesa-vulkan-drivers
- libvpl-dev
- libvpl-tools
- libmfx-gen-dev
Expand All @@ -454,7 +449,6 @@ systemConfig:
- qemu-user
- qemu-user-binfmt
- qemu-utils
- va-driver-all
- vainfo
- weston
- xserver-xorg-core
Expand Down Expand Up @@ -550,27 +544,27 @@ systemConfig:
final: /etc/netplan/50-cloud-init.yaml

kernel:
version: "260128t080735z-r2"
version: "260427t075939z-r2"
cmdline: "xe.max_vfs=7 xe.force_probe=* modprobe.blacklist=i915 udmabuf.list_limit=8192 console=tty0 console=ttyS0,115200n8"
enableExtraModules: "intel_vpu uas"
packages:
- linux-image-6.17-intel_260128t080735z-r2
- linux-headers-6.17-intel_260128t080735z-r2
- linux-image-6.18-intel_260427t075939z-r2
- linux-headers-6.18-intel_260427t075939z-r2

configurations:
# Install Intel Graphics Compiler and compute runtime packages for PTL
- cmd: "mkdir -p /tmp/gpu-packages"
- cmd: "wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.20.3/intel-igc-core-2_2.20.3+19972_amd64.deb -O /tmp/gpu-packages/intel-igc-core-2_2.20.3+19972_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: intel-igc-core-2 download failed'"
- cmd: "wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.20.3/intel-igc-opencl-2_2.20.3+19972_amd64.deb -O /tmp/gpu-packages/intel-igc-opencl-2_2.20.3+19972_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: intel-igc-opencl-2 download failed'"
- cmd: "wget https://github.com/intel/compute-runtime/releases/download/25.40.35563.4/intel-ocloc_25.40.35563.4-0_amd64.deb -O /tmp/gpu-packages/intel-ocloc_25.40.35563.4-0_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: intel-ocloc download failed'"
- cmd: "wget https://github.com/intel/compute-runtime/releases/download/25.40.35563.4/intel-opencl-icd_25.40.35563.4-0_amd64.deb -O /tmp/gpu-packages/intel-opencl-icd_25.40.35563.4-0_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: intel-opencl-icd download failed'"
- cmd: "wget https://github.com/intel/compute-runtime/releases/download/25.40.35563.4/libze-intel-gpu1_25.40.35563.4-0_amd64.deb -O /tmp/gpu-packages/libze-intel-gpu1_25.40.35563.4-0_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: libze-intel-gpu1 download failed'"
- cmd: "wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.28.4/intel-igc-core-2_2.28.4+20760_amd64.deb -O /tmp/gpu-packages/intel-igc-core-2_2.20.3+19972_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: intel-igc-core-2 download failed'"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devendragajjarintel We might need to address this. Disables TLS verification for GPU package downloads from GitHub. This was there since day 1 but may raise alarms at some point if used in production, as it is vulnerable to MITM.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree let me check what are the option we have to install certificate when chroot is creating image

- cmd: "wget https://github.com/intel/intel-graphics-compiler/releases/download/v2.28.4/intel-igc-opencl-2_2.28.4+20760_amd64.deb -O /tmp/gpu-packages/intel-igc-opencl-2_2.20.3+19972_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: intel-igc-opencl-2 download failed'"
- cmd: "wget https://github.com/intel/compute-runtime/releases/download/26.05.37020.3/intel-ocloc_26.05.37020.3-0_amd64.deb -O /tmp/gpu-packages/intel-ocloc_25.40.35563.4-0_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: intel-ocloc download failed'"
- cmd: "wget https://github.com/intel/compute-runtime/releases/download/26.05.37020.3/intel-opencl-icd_26.05.37020.3-0_amd64.deb -O /tmp/gpu-packages/intel-opencl-icd_25.40.35563.4-0_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: intel-opencl-icd download failed'"
- cmd: "wget https://github.com/intel/compute-runtime/releases/download/26.05.37020.3/libze-intel-gpu1_26.05.37020.3-0_amd64.deb -O /tmp/gpu-packages/libze-intel-gpu1_25.40.35563.4-0_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: libze-intel-gpu1 download failed'"
Comment on lines +557 to +561
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checking

- cmd: "wget https://github.com/oneapi-src/level-zero/releases/download/v1.22.4/level-zero_1.22.4+u24.04_amd64.deb -O /tmp/gpu-packages/level-zero_1.22.4+u24.04_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: level-zero download failed'"
- cmd: "wget https://github.com/oneapi-src/level-zero/releases/download/v1.22.4/level-zero-devel_1.22.4+u24.04_amd64.deb -O /tmp/gpu-packages/level-zero-devel_1.22.4+u24.04_amd64.deb --no-check-certificate 2>&1 || echo 'Warning: level-zero-devel download failed'"
- cmd: "find /tmp/gpu-packages -maxdepth 1 -type f -name '*.deb' | xargs -r dpkg -i 2>&1 || echo 'GPU packages: some installs had issues, attempting apt-get --fix-broken-install'; apt-get install -y --fix-broken-install 2>&1 || true"
# Install NPU driver for PTL
- cmd: "dpkg --purge --force-remove-reinstreq intel-driver-compiler-npu intel-fw-npu intel-level-zero-npu intel-level-zero-npu-dbgsym 2>/dev/null || true"
- cmd: "mkdir -p /tmp/npu-driver"
- cmd: "cd /tmp/npu-driver && wget https://github.com/intel/linux-npu-driver/releases/download/v1.28.0/linux-npu-driver-v1.28.0.20251218-20347000698-ubuntu2404.tar.gz -O /tmp/npu-driver/linux-npu-driver-v1.28.0.20251218-20347000698-ubuntu2404.tar.gz --no-check-certificate"
- cmd: "cd /tmp/npu-driver && tar -xf linux-npu-driver-v1.28.0.20251218-20347000698-ubuntu2404.tar.gz"
- cmd: "find /tmp/npu-driver -name '*.deb' -print0 | xargs -0 dpkg -i"
- cmd: "cd /tmp/npu-driver && wget https://github.com/intel/linux-npu-driver/releases/download/v1.32.0/linux-npu-driver-v1.32.0.20260402-23905121947-ubuntu2404.tar.gz -O /tmp/npu-driver/linux-npu-driver-v1.32.0.20260402-23905121947-ubuntu2404.tar.gz --no-check-certificate"
- cmd: "cd /tmp/npu-driver && tar -xf linux-npu-driver-v1.32.0.20260402-23905121947-ubuntu2404.tar.gz"
- cmd: "find /tmp/npu-driver -name '*.deb' -print0 | xargs -0 dpkg -i"