From 2c3997ad567bee514d4c86c3a5f02842ea40234c Mon Sep 17 00:00:00 2001 From: Ralf Anton Beier Date: Wed, 15 Sep 2021 06:53:22 +0200 Subject: [PATCH] Enable kas to checkout repositories using git credentials Using ssh to authenticate against repositories to check out is enabled. When switching to https and authentication via the git credential helper it is necessary to first setup the home directory before checking out the repositories. Signed-off-by: Ralf Anton Beier Signed-off-by: Jan Kiszka --- kas/libcmds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kas/libcmds.py b/kas/libcmds.py index 1801630..0912204 100644 --- a/kas/libcmds.py +++ b/kas/libcmds.py @@ -55,10 +55,10 @@ class Macro: self.setup_commands.append(SetupSSHAgent()) self.setup_commands += [ + SetupHome(), InitSetupRepos(), repo_loop, FinishSetupRepos(), - SetupHome(), ReposApplyPatches(), SetupEnviron(), WriteBBConfig(),