-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathemt3-x86_64-ptl-emf-raw.yml
More file actions
387 lines (359 loc) · 10.3 KB
/
emt3-x86_64-ptl-emf-raw.yml
File metadata and controls
387 lines (359 loc) · 10.3 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
# AI-searchable metadata for template discovery
metadata:
description: "Edge Microvisor Toolkit 3 Edge Multifunction (EMF) raw image for edge multifunction deployments without real-time requirements"
use_cases:
- "edge multifunction"
- "industrial edge"
- "non-realtime edge"
- "edge workloads"
keywords:
- emf
- edge
- multifunction
- industrial
- emt3
- microvisor
- raw
image:
name: emt3-x86_64-minimal-ptl-emf
version: "1.0.0"
target:
os: edge-microvisor-toolkit # Target OS name
dist: emt3 # Target OS distribution
arch: x86_64 # Target OS architecture
imageType: raw # Image type, valid value: [raw, iso].
packageRepositories:
- codename: "emtNext"
priority: 1001
url: "https://files-rs.edgeorchestration.intel.com/files-edge-orch/microvisor/rpms/next/base"
pkey: "https://raw.githubusercontent.com/open-edge-platform/edge-microvisor-toolkit/refs/heads/3.0/SPECS/edge-repos/INTEL-RPM-GPG-KEY"
# list of allowed packages from this repository
allowPackages:
- kernel-6.17.11
- kernel-drivers-gpu-6.17.11
- gstreamer1-plugins-base
- spice-server
- spice-protocol
- busybox
- ethtool
- iperf3
- msr-tools
- lsscsi
- tpm2-abrmd
- binutils
- cifs-utils
- opencl-headers
- linuxptp
- pulseaudio
- libsndfile
# Dependencies for gstreamer1-plugins-base
- libvorbis
- libvisual
- libtheora
- orc
- libogg
- graphene
- iso-codes
- libcdda_interface0
- libcdda_paranoia0
# Dependencies for spice-server
- opus
# libepoxy and QEMU graphics dependencies
- libepoxy
- qemu
- qemu-common
- qemu-user
- qemu-img
- qemu-tools
- qemu-system-aarch64
- qemu-system-arm
- qemu-system-riscv
- qemu-system-x86-core
- qemu-audio-spice
- qemu-char-spice
- qemu-device-display-qxl
- qemu-ui-opengl
- qemu-ui-spice-app
- qemu-ui-spice-core
# Packages aligned with installer script
- gdb
- ovmf
- openbox
- libpng-devel
- libXinerama-devel
- libXrandr-devel
- libXt-devel
- libXcursor-devel
- libxml2-devel
- pango-devel
- freefont
- xorg-x11-xkb-utils
- xorg-x11-server-utils
- xorg-x11-apps
- dracut-virtio
- qemu-guest-agent
- qemu-audio-pa
- qemu-with-ui
- qemu-kvm
- qemu-system-x86
- qemu-ui-curses
- qemu-device-usb-redirect
- qemu-device-usb-host
- qemu-device-display-virtio-vga
- qemu-device-display-virtio-gpu-pci
- qemu-device-display-virtio-gpu-ccw
- qemu-device-display-virtio-gpu
- qemu-block-nfs
- qemu-block-iscsi
- qemu-block-dmg
- qemu-block-curl
- qemu-audio-oss
- qemu-audio-alsa
- qemu-ui-gtk
- qemu-ui-egl-headless
- qemu-ipxe
- libvirt
- swtpm-tools
- dmidecode
- cvt
- xorg-x11-xinit
- unzip
- alsa-lib
- libvpl
- wayland*
- tpm2-tools
- i2c-tools
- mesa-filesystem
- mesa-demos
- mesa-libgbm
- mesa-libEGL-devel
- mesa-libGL-devel
- alsa-utils
- libva*
- intel-lms
- xorg-x11-server-Xorg
- intel-opencl
- ocl-icd
- clinfo
- kernel-drivers-sound
- codename: "edgeai"
url: "https://yum.repos.intel.com/edgeai/"
pkey: "https://yum.repos.intel.com/edgeai/GPG-PUB-KEY-INTEL-DLS.gpg"
disk:
name: edge-non-rt # 1:1 mapping to the systemConfigs name
artifacts:
-
type: raw # image file format, valid value [raw, vhd, vhdx, qcow2, vmdk, vdi]
compression: gz # image compression format (optional)
size: 37376MiB # 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: 384MiB
fsType: fat32
mountPoint: /boot/efi
mountOptions: umask=0077
- id: rootfs
type: linux-root-amd64
start: 384MiB
end: 8192MiB
fsType: ext4
mountPoint: /
mountOptions: defaults
- id: edge_persistent
type: linux
start: 8192MiB
end: 16896MiB
fsType: ext4
mountPoint: /opt
- id: swap
type: linux-swap
start: 16896MiB
end: "0" # use the rest of the disk space
fsType: linux-swap
systemConfig:
additionalFiles:
- local: ../additionalfiles/layout.env
final: /etc/layout.env
name: edge-non-rt
description: Default yml configuration for raw image
immutability:
enabled: false # default is true
# To enable Secure Boot, provide the actual file paths for your environment below and uncomment the relevant lines.
# secureBootDBKey: "<SECURE_BOOT_DB_KEY_PATH>"
# secureBootDBCrt: "<SECURE_BOOT_DB_CRT_PATH>"
# secureBootDBCer: "<SECURE_BOOT_DB_CER_PATH>"
# Package Configuration
packages:
# Additional packages beyond the base system
# ssh server
- openssh-server
# virtualization host
- qemu-kvm
# agent packages
- hardware-discovery-agent
- cluster-agent
- node-agent
- platform-observability-agent
- platform-telemetry-agent
- platform-update-agent
- in-band-manageability
- reporting-agent
# tinker tools
- gptfdisk
- cloud-init
- cloud-utils-growpart
- tpm2-tools
- lvm2
- netplan
- efibootmgr
- unzip
- rsyslog
- tpm2-initramfs-tool
- veritysetup
- python3-pyserial
# persistent mount
- rsync
# selinux full
- selinux-policy
- selinux-policy-devel
- policycoreutils-python-utils
- checkpolicy
- secilc
- setools-console
# intel gpu base
#- kernel-drivers-gpu
- linux-firmware-i915
- linux-firmware-ice
- intel-npu-firmware
# intel wireless
- linux-firmware-iwlwifi
- wireless-regdb
# os update
- os-update
# vpro amt
- platform-manageability-agent
- rpc
- intel-lms
# docker
- moby-engine
- docker-cli
- docker-compose
# ptl emf packages
- tpm-cryptsetup
- persistent-mount
- intel-npu-driver
- busybox
- ethtool
- iperf3
- msr-tools
- lsscsi
- tpm2-abrmd
- binutils
- cifs-utils
- opencl-headers
- linuxptp
- pulseaudio
- libsndfile
# Development tools
- perl
- gcc
- gcc-c++
- make
# QEMU full system emulation
- qemu
- qemu-user
- qemu-img
- qemu-tools
- qemu-system-aarch64
- qemu-system-arm
- qemu-system-riscv
- qemu-system-x86
# Graphics and display stack
- mesa-dri-drivers
- mesa-libGL
- mesa-libEGL
- libX11
- libepoxy
- libwayland-client
- cairo
- pango
- freetype
- fontconfig
# Multimedia
- gstreamer1
- gstreamer1-plugins-base
# Container runtime
- containerd2
- containerd2-core
# Additional tools
- helm
- intel-level-zero-zello_world
- lm-sensors
- llvm
- spice-server
- spice-protocol
# installer_emt.sh package set
- gdb
- edk2-ovmf
- openbox
- libpng-devel
- libXinerama-devel
- libXrandr-devel
- libXt-devel
- libXcursor-devel
- libxml2-devel
- pango-devel
- freefont
- xorg-x11-xkb-utils
- xorg-x11-server-utils
- xorg-x11-apps
- dracut-virtio
- qemu-guest-agent
- qemu-audio-pa
- qemu-with-ui
- libvirt
- swtpm-tools
- dmidecode
- cvt
- xorg-x11-xinit
- alsa-lib
- libvpl
- wayland*
- i2c-tools
- mesa-filesystem
- mesa-demos
- mesa-libgbm
- mesa-libEGL-devel
- mesa-libGL-devel
- alsa-utils
- libva*
- xorg-x11-server-Xorg
- intel-opencl
- ocl-icd
- clinfo
- kernel-drivers-sound
- intel-dlstreamer
# Kernel Configuration
kernel:
version: "6.17"
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"
enableExtraModules: "intel_vpu uas"
packages:
- kernel-drivers-gpu-6.17.11
configurations:
- cmd: "echo 'user ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/user-sudo"
- cmd: "chmod 440 /etc/sudoers.d/user-sudo"
- cmd: "grep -q '^http_proxy=http://proxy-dmz.intel.com:911$' /etc/environment || echo 'http_proxy=http://proxy-dmz.intel.com:911' >> /etc/environment"
- cmd: "grep -q '^https_proxy=http://proxy-dmz.intel.com:912$' /etc/environment || echo 'https_proxy=http://proxy-dmz.intel.com:912' >> /etc/environment"
- cmd: "grep -q '^ftp_proxy=http://proxy-dmz.intel.com:911$' /etc/environment || echo 'ftp_proxy=http://proxy-dmz.intel.com:911' >> /etc/environment"
- cmd: "grep -q '^socks_server=http://proxy-dmz.intel.com:1080$' /etc/environment || echo 'socks_server=http://proxy-dmz.intel.com:1080' >> /etc/environment"
- 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"
- 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"
- cmd: "grep -q '^http_proxy = http://proxy-dmz.intel.com:911$' /etc/wgetrc || echo 'http_proxy = http://proxy-dmz.intel.com:911' >> /etc/wgetrc"
- cmd: "grep -q '^https_proxy = http://proxy-dmz.intel.com:912$' /etc/wgetrc || echo 'https_proxy = http://proxy-dmz.intel.com:912' >> /etc/wgetrc"