Recreate VM conf files in the %post of template.rpm
This commit is contained in:
parent
ac6271546b
commit
ab30193104
@ -14,7 +14,8 @@ License: GPL
|
|||||||
URL: http://www.qubes-os.org
|
URL: http://www.qubes-os.org
|
||||||
Source: .
|
Source: .
|
||||||
|
|
||||||
Requires: qubes-core-dom0 xdg-utils
|
Requires: qubes-core-dom0 >= 1.3.8
|
||||||
|
Requires: xdg-utils
|
||||||
|
|
||||||
%define _builddir %(pwd)
|
%define _builddir %(pwd)
|
||||||
%define _rpmdir %(pwd)/rpm
|
%define _rpmdir %(pwd)/rpm
|
||||||
@ -92,6 +93,9 @@ if [ "$1" = 1 ] ; then
|
|||||||
qvm-add-template --rpm %{template_name}
|
qvm-add-template --rpm %{template_name}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "--> Recreating VM conf files..."
|
||||||
|
/usr/lib/qubes/reset_vm_configs.py %template_name}
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = 0 ] ; then
|
if [ "$1" = 0 ] ; then
|
||||||
# no more packages left
|
# no more packages left
|
||||||
|
Loading…
Reference in New Issue
Block a user