qubes-rpc: add 'wait-for-session=1' option for some services
Configure selected services to wait until GUI session is available. QubesOS/qubes-issues#2974
This commit is contained in:
parent
5ecd51dab7
commit
c5fae6ac55
3
Makefile
3
Makefile
@ -274,6 +274,9 @@ install-common: install-doc
|
|||||||
|
|
||||||
install -d $(DESTDIR)/etc/qubes/rpc-config
|
install -d $(DESTDIR)/etc/qubes/rpc-config
|
||||||
install -m 0644 qubes-rpc/rpc-config.README $(DESTDIR)/etc/qubes/rpc-config/README
|
install -m 0644 qubes-rpc/rpc-config.README $(DESTDIR)/etc/qubes/rpc-config/README
|
||||||
|
for config in qubes-rpc/*.config; do \
|
||||||
|
install -m 0644 $$config $(DESTDIR)/etc/qubes/rpc-config/`basename $$config .config`; \
|
||||||
|
done
|
||||||
|
|
||||||
install -d $(DESTDIR)/etc/qubes/suspend-pre.d
|
install -d $(DESTDIR)/etc/qubes/suspend-pre.d
|
||||||
install -m 0644 qubes-rpc/suspend-pre.README $(DESTDIR)/etc/qubes/suspend-pre.d/README
|
install -m 0644 qubes-rpc/suspend-pre.README $(DESTDIR)/etc/qubes/suspend-pre.d/README
|
||||||
|
6
debian/qubes-core-agent.install
vendored
6
debian/qubes-core-agent.install
vendored
@ -33,6 +33,12 @@ etc/qubes-suspend-module-blacklist
|
|||||||
etc/qubes/autostart/*
|
etc/qubes/autostart/*
|
||||||
etc/qubes/post-install.d/README
|
etc/qubes/post-install.d/README
|
||||||
etc/qubes/post-install.d/*.sh
|
etc/qubes/post-install.d/*.sh
|
||||||
|
etc/qubes/rpc-config/qubes.OpenInVM
|
||||||
|
etc/qubes/rpc-config/qubes.OpenURL
|
||||||
|
etc/qubes/rpc-config/qubes.SelectFile
|
||||||
|
etc/qubes/rpc-config/qubes.SelectDirectory
|
||||||
|
etc/qubes/rpc-config/qubes.StartApp
|
||||||
|
etc/qubes/rpc-config/qubes.InstallUpdatesGUI
|
||||||
etc/qubes/suspend-post.d/README
|
etc/qubes/suspend-post.d/README
|
||||||
etc/qubes/suspend-post.d/*.sh
|
etc/qubes/suspend-post.d/*.sh
|
||||||
etc/qubes/suspend-pre.d/README
|
etc/qubes/suspend-pre.d/README
|
||||||
|
1
qubes-rpc/qubes.InstallUpdatesGUI.config
Normal file
1
qubes-rpc/qubes.InstallUpdatesGUI.config
Normal file
@ -0,0 +1 @@
|
|||||||
|
wait-for-session=1
|
1
qubes-rpc/qubes.OpenInVM.config
Normal file
1
qubes-rpc/qubes.OpenInVM.config
Normal file
@ -0,0 +1 @@
|
|||||||
|
wait-for-session=1
|
1
qubes-rpc/qubes.OpenURL.config
Normal file
1
qubes-rpc/qubes.OpenURL.config
Normal file
@ -0,0 +1 @@
|
|||||||
|
wait-for-session=1
|
1
qubes-rpc/qubes.SelectDirectory.config
Normal file
1
qubes-rpc/qubes.SelectDirectory.config
Normal file
@ -0,0 +1 @@
|
|||||||
|
wait-for-session=1
|
1
qubes-rpc/qubes.SelectFile.config
Normal file
1
qubes-rpc/qubes.SelectFile.config
Normal file
@ -0,0 +1 @@
|
|||||||
|
wait-for-session=1
|
1
qubes-rpc/qubes.StartApp.config
Normal file
1
qubes-rpc/qubes.StartApp.config
Normal file
@ -0,0 +1 @@
|
|||||||
|
wait-for-session=1
|
@ -520,6 +520,12 @@ rm -f %{name}-%{version}
|
|||||||
%config(noreplace) /etc/qubes-rpc/qubes.GetDate
|
%config(noreplace) /etc/qubes-rpc/qubes.GetDate
|
||||||
%dir /etc/qubes/rpc-config
|
%dir /etc/qubes/rpc-config
|
||||||
/etc/qubes/rpc-config/README
|
/etc/qubes/rpc-config/README
|
||||||
|
%config(noreplace) /etc/qubes/rpc-config/qubes.OpenInVM
|
||||||
|
%config(noreplace) /etc/qubes/rpc-config/qubes.OpenURL
|
||||||
|
%config(noreplace) /etc/qubes/rpc-config/qubes.SelectFile
|
||||||
|
%config(noreplace) /etc/qubes/rpc-config/qubes.SelectDirectory
|
||||||
|
%config(noreplace) /etc/qubes/rpc-config/qubes.StartApp
|
||||||
|
%config(noreplace) /etc/qubes/rpc-config/qubes.InstallUpdatesGUI
|
||||||
%dir /etc/qubes/autostart
|
%dir /etc/qubes/autostart
|
||||||
%config(noreplace) /etc/default/grub.qubes
|
%config(noreplace) /etc/default/grub.qubes
|
||||||
/etc/qubes/autostart/README.txt
|
/etc/qubes/autostart/README.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user