rpm: adjust post-installation script for new tools

QubesOS/qubes-issues#2412
This commit is contained in:
Marek Marczykowski-Górecki 2016-11-02 06:27:15 +01:00
parent 1418555346
commit 408606e0f0
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -158,8 +158,8 @@ 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
umask 007; sg qubes -c 'qubes-create --offline-mode'
qubes-prefs --force-root --offline-mode default-kernel `ls /var/lib/qubes/vm-kernels|head -n 1` 2> /dev/null
fi
# Because we now have an installer