From e1df9f252c68b3c630391f430d8e09f489a08b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 8 Apr 2014 05:05:42 +0200 Subject: [PATCH] spec: initialize default kernel when creating qubes.xml database This is especially important when kernel-qubes-vm's %post was executed before qubes-core-dom0's %post - in that case, the default kernel would be left as "None". --- rpm_spec/core-dom0.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index c5a0bdda..176f6828 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -220,6 +220,7 @@ service xenstored start if ! [ -e /var/lib/qubes/qubes.xml ]; then # echo "Initializing Qubes DB..." umask 007; sg qubes -c qvm-init-storage + qubes-prefs -s default-kernel `ls /var/lib/qubes/vm-kernels|head -n 1` 2> /dev/null fi # Because we now have an installer