rpm: add workaround for Fedora's systemd package bug

https://bugzilla.redhat.com/1559286

Fixes QubesOS/qubes-issues#3983
This commit is contained in:
Marek Marczykowski-Górecki 2018-09-13 03:34:19 +02:00
parent 000d7890f8
commit e816a4600a
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -347,6 +347,12 @@ if [ -L /usr/local ]; then
mount /usr/local || :
fi
# workaround for Fedora's systemd package bug
# https://bugzilla.redhat.com/1559286
if [ -d /var/lib/private ]; then
chmod 700 /var/lib/private
fi
if test -f /etc/yum.conf && ! grep -q '/etc/yum\.conf\.d/qubes-proxy\.conf' /etc/yum.conf; then
echo >> /etc/yum.conf
echo '# Yum does not support inclusion of config dir...' >> /etc/yum.conf