Skip to content

Commit 9b135d4

Browse files
authored
Merge pull request #436 from open-edge-platform/ptl_bronze
ptl bronze for EMT and Ubuntu
2 parents 231b2d4 + 9da9468 commit 9b135d4

File tree

14 files changed

+963
-122
lines changed

14 files changed

+963
-122
lines changed

image-templates/emt3-x86_64-ptl-emf-raw.yml

Lines changed: 231 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,130 @@ target:
2727

2828
packageRepositories:
2929
- codename: "emtNext"
30+
priority: 1001
3031
url: "https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpms/next/base"
3132
pkey: "https://raw.githubusercontent.com/open-edge-platform/edge-microvisor-toolkit/refs/heads/3.0/SPECS/edge-repos/INTEL-RPM-GPG-KEY"
3233
# list of allowed packages from this repository
33-
AllowPackages:
34+
allowPackages:
3435
- kernel-6.17.11
3536
- kernel-drivers-gpu-6.17.11
37+
- gstreamer1-plugins-base
38+
- spice-server
39+
- spice-protocol
40+
- busybox
41+
- ethtool
42+
- iperf3
43+
- msr-tools
44+
- lsscsi
45+
- tpm2-abrmd
46+
- binutils
47+
- cifs-utils
48+
- opencl-headers
49+
- linuxptp
50+
- libva-utils
51+
- pulseaudio
52+
- libsndfile
53+
# Dependencies for gstreamer1-plugins-base
54+
- libvorbis
55+
- libvisual
56+
- libtheora
57+
- orc
58+
- libogg
59+
- graphene
60+
- iso-codes
61+
- libcdda_interface0
62+
- libcdda_paranoia0
63+
# Dependencies for spice-server
64+
- opus
65+
# libepoxy and QEMU graphics dependencies
66+
- libepoxy
67+
- qemu
68+
- qemu-common
69+
- qemu-user
70+
- qemu-img
71+
- qemu-tools
72+
- qemu-system-aarch64
73+
- qemu-system-arm
74+
- qemu-system-riscv
75+
- qemu-system-x86-core
76+
- qemu-audio-spice
77+
- qemu-char-spice
78+
- qemu-device-display-qxl
79+
- qemu-ui-opengl
80+
- qemu-ui-spice-app
81+
- qemu-ui-spice-core
82+
# Packages aligned with installer script
83+
- gdb
84+
- ovmf
85+
- openbox
86+
- libpng-devel
87+
- libXinerama-devel
88+
- libXrandr-devel
89+
- libXt-devel
90+
- libXcursor-devel
91+
- libxml2-devel
92+
- pango-devel
93+
- freefont
94+
- xorg-x11-xkb-utils
95+
- xorg-x11-server-utils
96+
- xorg-x11-apps
97+
- dracut-virtio
98+
- qemu-guest-agent
99+
- qemu-audio-pa
100+
- qemu-with-ui
101+
- qemu-kvm
102+
- qemu-system-x86
103+
- qemu-ui-curses
104+
- qemu-device-usb-redirect
105+
- qemu-device-usb-host
106+
- qemu-device-display-virtio-vga
107+
- qemu-device-display-virtio-gpu-pci
108+
- qemu-device-display-virtio-gpu-ccw
109+
- qemu-device-display-virtio-gpu
110+
- qemu-block-nfs
111+
- qemu-block-iscsi
112+
- qemu-block-dmg
113+
- qemu-block-curl
114+
- qemu-audio-oss
115+
- qemu-audio-alsa
116+
- qemu-ui-gtk
117+
- qemu-ui-egl-headless
118+
- qemu-ipxe
119+
- libvirt
120+
- swtpm-tools
121+
- dmidecode
122+
- cvt
123+
- xorg-x11-xinit
124+
- unzip
125+
- alsa-lib
126+
- libvpl
127+
- wayland*
128+
- tpm2-tools
129+
- i2c-tools
130+
- mesa-filesystem
131+
- mesa-demos
132+
- mesa-libgbm
133+
- mesa-libEGL-devel
134+
- mesa-libGL-devel
135+
- alsa-utils
136+
- libva*
137+
- intel-lms
138+
- xorg-x11-server-Xorg
139+
- intel-opencl
140+
- ocl-icd
141+
- clinfo
142+
- kernel-drivers-sound
143+
- codename: "edgeai"
144+
url: "https://yum.repos.intel.com/edgeai/"
145+
pkey: "https://yum.repos.intel.com/edgeai/GPG-PUB-KEY-INTEL-DLS.gpg"
36146

37147
disk:
38148
name: edge-non-rt # 1:1 mapping to the systemConfigs name
39149
artifacts:
40150
-
41151
type: raw # image file format, valid value [raw, vhd, vhdx, qcow2, vmdk, vdi]
42152
compression: gz # image compression format (optional)
43-
size: 4GiB # 4G, 4GB, 4096 MiB also valid. (Required for raw)
153+
size: 37376MiB # 4G, 4GB, 4096 MiB also valid. (Required for raw)
44154
partitionTableType: gpt # Partition table type, valid value: [gpt, mbr]
45155
partitions: # Required for raw, optional for ISO, not needed for rootfs.
46156
- id: boot
@@ -57,19 +167,23 @@ disk:
57167
- id: rootfs
58168
type: linux-root-amd64
59169
start: 384MiB
60-
end: 3584MiB
170+
end: 8192MiB
61171
fsType: ext4
62172
mountPoint: /
63173
mountOptions: defaults
64174

65175
- id: edge_persistent
66176
type: linux
67-
start: 3584MiB
68-
end: "0" # use the rest of the disk space
177+
start: 8192MiB
178+
end: 16896MiB
69179
fsType: ext4
70180
mountPoint: /opt
71181

72-
182+
- id: swap
183+
type: linux-swap
184+
start: 16896MiB
185+
end: "0" # use the rest of the disk space
186+
fsType: linux-swap
73187

74188
systemConfig:
75189

@@ -93,12 +207,122 @@ systemConfig:
93207
- tpm-cryptsetup
94208
- persistent-mount
95209
- intel-npu-driver
210+
- busybox
211+
- ethtool
212+
- iperf3
213+
- msr-tools
214+
- lsscsi
215+
- tpm2-abrmd
216+
- binutils
217+
- cifs-utils
218+
- opencl-headers
219+
- linuxptp
220+
- libva-utils
221+
- pulseaudio
222+
- libsndfile
223+
# Development tools
224+
- perl
225+
- gcc
226+
- gcc-c++
227+
- make
228+
# QEMU full system emulation
229+
- qemu
230+
- qemu-user
231+
- qemu-img
232+
- qemu-tools
233+
- qemu-system-aarch64
234+
- qemu-system-arm
235+
- qemu-system-riscv
236+
- qemu-system-x86
237+
# Graphics and display stack
238+
- mesa-dri-drivers
239+
- mesa-libGL
240+
- mesa-libEGL
241+
- libX11
242+
- libepoxy
243+
- libwayland-client
244+
- cairo
245+
- pango
246+
- freetype
247+
- fontconfig
248+
# Multimedia
249+
- gstreamer1
250+
- gstreamer1-plugins-base
251+
# Container runtime
252+
- containerd2
253+
- containerd2-core
254+
# Additional tools
255+
- helm
256+
- intel-level-zero-zello_world
257+
- lm-sensors
258+
- llvm
259+
- spice-server
260+
- spice-protocol
261+
# installer_emt.sh package set
262+
- gdb
263+
- edk2-ovmf
264+
- openbox
265+
- libpng-devel
266+
- libXinerama-devel
267+
- libXrandr-devel
268+
- libXt-devel
269+
- libXcursor-devel
270+
- libxml2-devel
271+
- pango-devel
272+
- freefont
273+
- xorg-x11-xkb-utils
274+
- xorg-x11-server-utils
275+
- xorg-x11-apps
276+
- dracut-virtio
277+
- qemu-guest-agent
278+
- qemu-audio-pa
279+
- qemu-with-ui
280+
- qemu-kvm
281+
- libvirt
282+
- swtpm-tools
283+
- dmidecode
284+
- cvt
285+
- xorg-x11-xinit
286+
- unzip
287+
- alsa-lib
288+
- libvpl
289+
- wayland*
290+
- tpm2-tools
291+
- i2c-tools
292+
- mesa-filesystem
293+
- mesa-demos
294+
- mesa-libgbm
295+
- mesa-libEGL-devel
296+
- mesa-libGL-devel
297+
- alsa-utils
298+
- libva*
299+
- intel-lms
300+
- xorg-x11-server-Xorg
301+
- intel-opencl
302+
- ocl-icd
303+
- clinfo
304+
- kernel-drivers-sound
305+
- intel-dlstreamer
96306

97307
# Kernel Configuration
98308
kernel:
99309
version: "6.17"
100-
cmdline: "root=/dev/mapper/rootfs_verity console=ttyS0,115200 console=tty0 loglevel=7 sysctl.vm.overcommit_memory=1 sysctl.kernel.panic=10 sysctl.kernel.panic_on_oops=1 sysctl.fs.inotify.max_user_instances=8192 rd.parallel=1 rd.shell=0 rd.timeout=200 rd.emergency=reboot"
310+
cmdline: "root=/dev/mapper/rootfs_verity loglevel=7 sysctl.vm.overcommit_memory=1 sysctl.kernel.panic=10 sysctl.kernel.panic_on_oops=1 sysctl.fs.inotify.max_user_instances=8192 rd.parallel=1 rd.shell=0 rd.timeout=200 rd.emergency=reboot xe.max_vfs=7 xe.force_probe=* modprobe.blacklist=i915 udmabuf.list_limit=8192 console=tty0 console=ttyS0,115200n8"
101311
enableExtraModules: "intel_vpu uas"
102312
packages:
103313
- kernel-drivers-gpu-6.17.11
314+
315+
configurations:
316+
- cmd: "echo 'user ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/user-sudo"
317+
- cmd: "chmod 440 /etc/sudoers.d/user-sudo"
318+
- cmd: "grep -q '^http_proxy=http://proxy-dmz.intel.com:911$' /etc/environment || echo 'http_proxy=http://proxy-dmz.intel.com:911' >> /etc/environment"
319+
- cmd: "grep -q '^https_proxy=http://proxy-dmz.intel.com:912$' /etc/environment || echo 'https_proxy=http://proxy-dmz.intel.com:912' >> /etc/environment"
320+
- cmd: "grep -q '^ftp_proxy=http://proxy-dmz.intel.com:911$' /etc/environment || echo 'ftp_proxy=http://proxy-dmz.intel.com:911' >> /etc/environment"
321+
- cmd: "grep -q '^socks_server=http://proxy-dmz.intel.com:1080$' /etc/environment || echo 'socks_server=http://proxy-dmz.intel.com:1080' >> /etc/environment"
322+
- cmd: "grep -q '^no_proxy=.internal,10.*,10.0.0.0/8,127.0.0.1,169.254.169.254,::1,localhost,10.49.76.92$' /etc/environment || echo 'no_proxy=.internal,10.*,10.0.0.0/8,127.0.0.1,169.254.169.254,::1,localhost,10.49.76.92' >> /etc/environment"
323+
- cmd: "grep -q '^no_proxy=localhost,127.0.0.1,127.0.1.1,127.0.0.0/8,172.16.0.0/20,192.168.0.0/16,10.0.0.0/8,10.1.0.0/16,10.152.183.0/24,devtools.intel.com,jf.intel.com,teamcity-or.intel.com,caas.intel.com,inn.intel.com,isscorp.intel.com,gfx-assets.fm.intel.com$' /etc/environment || echo 'no_proxy=localhost,127.0.0.1,127.0.1.1,127.0.0.0/8,172.16.0.0/20,192.168.0.0/16,10.0.0.0/8,10.1.0.0/16,10.152.183.0/24,devtools.intel.com,jf.intel.com,teamcity-or.intel.com,caas.intel.com,inn.intel.com,isscorp.intel.com,gfx-assets.fm.intel.com' >> /etc/environment"
324+
- cmd: "grep -q '^http_proxy = http://proxy-dmz.intel.com:911$' /etc/wgetrc || echo 'http_proxy = http://proxy-dmz.intel.com:911' >> /etc/wgetrc"
325+
- cmd: "grep -q '^https_proxy = http://proxy-dmz.intel.com:912$' /etc/wgetrc || echo 'https_proxy = http://proxy-dmz.intel.com:912' >> /etc/wgetrc"
326+
327+
104328

0 commit comments

Comments
 (0)