Merge pull request #1111 from canonical/misc_fixes_for_ci

system_setup: Many fixes for ci
This commit is contained in:
Didier Roche 2021-11-03 10:42:39 +01:00 committed by GitHub
commit 365922eb35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 4 deletions

View File

@ -72,7 +72,7 @@ def main():
opts, unknown = parser.parse_known_args(args)
if opts.socket is None:
need_start_server = True
server_output_dir = '/tmp/.subiquity'
server_output_dir = '.subiquity'
sock_path = os.path.join(server_output_dir, 'socket')
if os.path.exists('.subiquity/run/subiquity/server-state'):
os.unlink('.subiquity/run/subiquity/server-state')

View File

@ -59,7 +59,6 @@ class SystemSetupServer(SubiquityServer):
def __init__(self, opts, block_log_dir):
super().__init__(opts, block_log_dir)
self.echo_syslog_id = ""
self.event_syslog_id = ""
self.log_syslog_id = ""
if is_reconfigure(opts.dry_run):

View File

@ -65,8 +65,6 @@ class SummaryView(BaseView):
self.view_error_btn,
self.reboot_btn,
]
else:
raise Exception(state)
if self.controller.showing:
self.controller.app.ui.set_header(self.title)
self._set_buttons(btns)