From f387c05645ce6d0dc3c4e7f26e61872606f6a2a7 Mon Sep 17 00:00:00 2001 From: YourSandwich Date: Tue, 28 Sep 2021 18:54:06 +0200 Subject: [PATCH 1/2] Added missing repos --- image.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/image.py b/image.py index f1f6320..bf751a4 100644 --- a/image.py +++ b/image.py @@ -193,6 +193,15 @@ def cmd_build(verbose): 'device': { 'Server': 'file:///prebuilts/$repo', }, + 'linux': { + 'Server': 'file:///prebuilts/$repo', + }, + 'boot': { + 'Server': 'file:///prebuilts/$repo', + }, + 'firmware': { + 'Server': 'file:///prebuilts/$repo', + }, } create_chroot( From e1c4eb1ade54eaa48f2c1c574407b0673a3bdb4f Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Mon, 11 Oct 2021 03:45:34 +0200 Subject: [PATCH 2/2] ssh: add --user and --host argument Extra arguments to allow quickly overriding the username and ip address for the ssh call. Just in case you're connecting over wifi instead of 172.16.42.1 --- ssh.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ssh.py b/ssh.py index be5c25e..2df50ee 100644 --- a/ssh.py +++ b/ssh.py @@ -4,8 +4,10 @@ from logger import setup_logging, verbose_option @click.command(name='ssh') +@click.option('--user', prompt='The SSH username', default='kupfer') +@click.option('--host', prompt='The SSH host', default='172.16.42.1') @verbose_option -def cmd_ssh(verbose): +def cmd_ssh(verbose, user, host): setup_logging(verbose) subprocess.run([ @@ -16,5 +18,5 @@ def cmd_ssh(verbose): 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', - 'kupfer@172.16.42.1', + f'{user}@{host}', ])