-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mock: bind mount qubes-pesign socket on build #77
base: main
Are you sure you want to change the base?
Conversation
@@ -17,6 +17,10 @@ config_opts['use_bootstrap'] = False | |||
config_opts['plugin_conf']['bind_mount_enable'] = os.environ.get("BIND_MOUNT_ENABLE", False) | |||
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('@BUILDER_DIR@/plugins', '/plugins' )) | |||
|
|||
# mount the pesign socket into the chroot | |||
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/var/run/qubes-pesign', '/var/run/qubes-pesign' )) | |||
config_opts['nspawn_args'] += ['--bind=/var/run/qubes-pesign'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't those two meaning the same thing? Why both are needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've copy pasted some snippet in a thread but I've tested and only the second one is needed.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #77 +/- ##
==========================================
+ Coverage 76.62% 78.03% +1.41%
==========================================
Files 47 47
Lines 5317 5317
==========================================
+ Hits 4074 4149 +75
+ Misses 1243 1168 -75 ☔ View full report in Codecov by Sentry. |
@fepitre what is the recommended method for redirecting |
Related to QubesOS/qubes-issues#8206
Doc is in vmm-xen-unified repo |
QubesOS/qubes-issues#8206