From 1d6146320e0df50b20205134f48612969a1830a5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?=
 <marmarek@invisiblethingslab.com>
Date: Wed, 14 Aug 2024 16:12:58 +0200
Subject: [PATCH] Enable software rendering by default in all qube types

Add it to list for all types, not just "others" (which might be even
unused in practice).

Fixes https://github.com/QubesOS/qubes-issues/issues/9268

(cherry picked from commit a6c95ffd7fcfc1343d62355137688c2c7e6010ef)
---
 vm-systemd/qubes-sysinit.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/vm-systemd/qubes-sysinit.sh b/vm-systemd/qubes-sysinit.sh
index 854bdc4d..16c71adf 100755
--- a/vm-systemd/qubes-sysinit.sh
+++ b/vm-systemd/qubes-sysinit.sh
@@ -6,10 +6,10 @@ set -euf
 . /usr/lib/qubes/init/functions
 
 # List of services enabled by default (in case of absence of qubesdb entry)
-DEFAULT_ENABLED_NETVM="network-manager qubes-network qubes-update-check qubes-updates-proxy meminfo-writer qubes-firewall"
-DEFAULT_ENABLED_PROXYVM="qubes-network qubes-firewall qubes-update-check meminfo-writer"
-DEFAULT_ENABLED_APPVM="qubes-update-check meminfo-writer tracker evolution-data-server"
-DEFAULT_ENABLED_TEMPLATEVM="$DEFAULT_ENABLED_APPVM updates-proxy-setup"
+DEFAULT_ENABLED_NETVM="network-manager qubes-network qubes-update-check qubes-updates-proxy meminfo-writer qubes-firewall software-rendering"
+DEFAULT_ENABLED_PROXYVM="qubes-network qubes-firewall qubes-update-check meminfo-writer software-rendering"
+DEFAULT_ENABLED_APPVM="qubes-update-check meminfo-writer tracker evolution-data-server software-rendering"
+DEFAULT_ENABLED_TEMPLATEVM="$DEFAULT_ENABLED_APPVM updates-proxy-setup software-rendering"
 DEFAULT_ENABLED="meminfo-writer software-rendering"
 
 # Wait for xenbus initialization