From 194fb9b99b9461556eb9129ddc8d9abc6e3c17e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 3 Nov 2016 22:18:09 +0100 Subject: [PATCH] rpm: disable prelink only when present It isn't installed by default. QubesOS/qubes-issues#2412 --- rpm_spec/core-dom0.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 5ed3a4ca..78cd7ef5 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -134,7 +134,9 @@ sed '/^autoballoon=/d;/^lockfile=/d' -i /etc/xen/xl.conf echo 'autoballoon=0' >> /etc/xen/xl.conf echo 'lockfile="/var/run/qubes/xl-lock"' >> /etc/xen/xl.conf +if [ -e /etc/sysconfig/prelink ]; then sed 's/^PRELINKING\s*=.*/PRELINKING=no/' -i /etc/sysconfig/prelink +fi systemctl --no-reload enable qubes-core.service >/dev/null 2>&1 systemctl --no-reload enable qubes-netvm.service >/dev/null 2>&1