| author | 2026-09-07 11:47:28 +0700 | |
|---|---|---|
| committer | 2026-11-05 15:13:58 +0400 | |
| commit | 90787c4b3813b34893ef315606ee4b9eb7c63e7d (patch) | |
| tree | 53780303bc8a95034977630776f8ec30333ce9b0 /config.sh | |
| parent | d33bb77a0c16233819bbd29cb4de00b406a4d004 (diff) | |
| download | kiwi-descriptions-90787c4b3813b34893ef315606ee4b9eb7c63e7d.tar.gz kiwi-descriptions-90787c4b3813b34893ef315606ee4b9eb7c63e7d.zip | |
feat: automate installing production-signed iris firmware driver
Diffstat (limited to 'config.sh')
| -rwxr-xr-x | config.sh | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -735,6 +735,23 @@ case "${libcamera_nevra}" in ;; esac +# Hardware video decode needs firmware this image is not allowed to carry. The +# qcom/vpu/vpu30_p1_s7.mbn in linux-firmware is the same codec signed with +# Qualcomm's SecTools test keys, which a retail Surface's TrustZone rejects, and +# the production-signed build exists only inside Microsoft's Surface driver +# package, under terms that grant no redistribution right. +# +# So the image ships the means rather than the blob: a script that copies it out +# of a Windows install the owner already has a licence for, and a unit that runs +# that once on a dual-boot machine. Where Windows is gone, the script says which +# driver pack to download and how to point it at one. +dnf install -y msitools +install -Dm755 /tmp/SayaAndy/surface-pro-12-inch-linux-fedora/usr/local/bin/surface-video-firmware.sh \ + /usr/local/bin/surface-video-firmware.sh +install -Dm644 /tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/systemd/system/surface-video-firmware.service \ + /etc/systemd/system/surface-video-firmware.service +systemctl enable surface-video-firmware.service + # Suspend on Snapdragon is still very unstable. This is the reason why # 'mem_sleep_default=s2idle' is set explicitly in the cmdline as 'deep' mode # does not function at all. |