rpm: disable prelink only when present
It isn't installed by default. QubesOS/qubes-issues#2412
This commit is contained in:
parent
210cb65d1c
commit
194fb9b99b
@ -134,7 +134,9 @@ sed '/^autoballoon=/d;/^lockfile=/d' -i /etc/xen/xl.conf
|
|||||||
echo 'autoballoon=0' >> /etc/xen/xl.conf
|
echo 'autoballoon=0' >> /etc/xen/xl.conf
|
||||||
echo 'lockfile="/var/run/qubes/xl-lock"' >> /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
|
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-core.service >/dev/null 2>&1
|
||||||
systemctl --no-reload enable qubes-netvm.service >/dev/null 2>&1
|
systemctl --no-reload enable qubes-netvm.service >/dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user