-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sys-firewall RPM key via GUI Updater
If the GUI updater observes the RPM key in sys-firewall is different from the latest key, run the sys-firewall state to update the key. The reason we check is to prevent needless applications of salt state, given the requirement to boot a disp-mgmt vm each time. Here, we rely on checksums to avoid using sudo privileges to read the apt keys provisioned by both the dev logic and rpm package, which are found in /srv/salt/sd/sd-workstation Handling qvm-copy in sd-dom0-files.sls has several hidden complexities: * shell script and rc.local will need to be updated/run as well * copy to vm, copy to folder and apply permissions, for 3 files It may also lead to several edgecases: * the file will need to also be moved to the proper * issues with idempotency if the file is not deleted from ~/QubesIncoming * race conditions between dom0 rpm provisioning and sys-firewall provisioning
- Loading branch information
Showing
2 changed files
with
268 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters