forked from fepitre/qubes-core-admin-addon-bridge-device
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
31 additions
and
99 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
checks:pylint: | ||
before_script: | ||
- pip install pylint | ||
script: | ||
- PYTHONPATH=test-packages python3 -m pylint qubeswhonix | ||
stage: checks | ||
include: | ||
- file: /r4.2/gitlab-base.yml | ||
project: QubesOS/qubes-continuous-integration | ||
- file: /r4.2/gitlab-host.yml | ||
project: QubesOS/qubes-continuous-integration |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
host: | ||
rpm: | ||
build: | ||
- rpm_spec/qubes-core-admin-addon-bridge-device.spec |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,9 @@ | ||
ADMIN_API_METHODS_SIMPLE = \ | ||
admin.vm.device.bridge.Attach \ | ||
admin.vm.device.bridge.Available \ | ||
admin.vm.device.bridge.Detach \ | ||
admin.vm.device.bridge.List \ | ||
admin.vm.device.bridge.Set.persistent | ||
|
||
all: | ||
python3 setup.py build | ||
|
||
install: | ||
# force /usr/bin before /bin to have /usr/bin/python instead of /bin/python | ||
PATH="/usr/bin:$$PATH" python3 setup.py install $(PYTHON_PREFIX_ARG) -O1 --skip-build --root $(DESTDIR) | ||
|
||
mkdir -p $(DESTDIR)/etc/qubes-rpc/policy | ||
for method in $(ADMIN_API_METHODS_SIMPLE); do \ | ||
cp qubes-rpc-policy/$$method.policy $(DESTDIR)/etc/qubes-rpc/policy/$$method; \ | ||
ln -s ../../usr/libexec/qubes/qubesd-query-fast $(DESTDIR)/etc/qubes-rpc/$$method || exit 1; \ | ||
done | ||
# default RPC policy | ||
install -D -m 0664 -- qubes-rpc-policy/80-admin-default-bridge.policy $(DESTDIR)/etc/qubes/policy.d/80-admin-default-bridge.policy |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Do not modify this file, create a new policy file with a lower number in the | ||
## filename instead. For example `30-bridge.policy`. | ||
|
||
!include-service admin.vm.device.bridge.Attach * include/admin-local-rwx | ||
!include-service admin.vm.device.bridge.Available * include/admin-local-ro | ||
!include-service admin.vm.device.bridge.Detach * include/admin-local-rwx | ||
!include-service admin.vm.device.bridge.List * include/admin-local-ro | ||
!include-service admin.vm.device.bridge.Set.persistent * include/admin-local-rwx |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
qubes-rpc-policy/admin.vm.device.bridge.Set.persistent.policy
This file was deleted.
Oops, something went wrong.
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