Added supported-service keyboard-layout to allow for better working Qube Manager

references QubesOS/qubes-issues#6030
This commit is contained in:
Marta Marczykowska-Górecka 2020-09-08 17:01:49 +02:00
parent e6186239ef
commit 7fa468eb0c
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B
4 changed files with 10 additions and 1 deletions

View File

@ -16,6 +16,9 @@ install:
install -d $(DESTDIR)/usr/bin install -d $(DESTDIR)/usr/bin
ln -sf qvm-start-daemon $(DESTDIR)/usr/bin/qvm-start-gui ln -sf qvm-start-daemon $(DESTDIR)/usr/bin/qvm-start-gui
install -m 0755 scripts/qubes-guivm-session $(DESTDIR)/usr/bin/ install -m 0755 scripts/qubes-guivm-session $(DESTDIR)/usr/bin/
install -d $(DESTDIR)/etc/qubes/post-install.d
install -m 0755 scripts/30-keyboard-layout-service.sh \
$(DESTDIR)/etc/qubes/post-install.d/30-keyboard-layout-service.sh
clean: clean:
rm -rf test-packages/__pycache__ qubesadmin/__pycache__ rm -rf test-packages/__pycache__ qubesadmin/__pycache__

3
debian/rules vendored
View File

@ -25,6 +25,9 @@ override_dh_auto_install:
install -d debian/qubes-core-admin-client/usr/share/man/man1 install -d debian/qubes-core-admin-client/usr/share/man/man1
install -m 0644 build/man/* \ install -m 0644 build/man/* \
debian/qubes-core-admin-client/usr/share/man/man1/ debian/qubes-core-admin-client/usr/share/man/man1/
install -d debian/qubes-core-admin-client/etc/qubes/post-install.d
install -m 0755 scripts/30-keyboard-layout-service.sh \
debian/qubes-core-admin-client/etc/qubes/post-install.d/30-keyboard-layout-service.sh
override_dh_clean: override_dh_clean:
dh_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild

View File

@ -67,7 +67,7 @@ make -C doc DESTDIR=$RPM_BUILD_ROOT \
%files -n python%{python3_pkgversion}-qubesadmin %files -n python%{python3_pkgversion}-qubesadmin
%{python3_sitelib}/qubesadmin-*egg-info %{python3_sitelib}/qubesadmin-*egg-info
%{python3_sitelib}/qubesadmin %{python3_sitelib}/qubesadmin
/etc/qubes/post-install.d/30-keyboard-layout-service.sh
%changelog %changelog
@CHANGELOG@ @CHANGELOG@

View File

@ -0,0 +1,3 @@
#!/bin/sh
qvm-features-request supported-feature.keyboard-layout=1