From 30c21aaf3e7f27ef21de477d8f84e34d0948d653 Mon Sep 17 00:00:00 2001 From: Daniel Wagenknecht Date: Wed, 2 Mar 2022 20:50:32 +0100 Subject: bitbake: fetch2: ssh: username and password are optional Support URLs like ssh://HOST/PATH. They were previously not recognized due to a missing @ sign. (Bitbake rev: a2aa18bd27dac8902e52b466cb7118f71367d3dc) Signed-off-by: Daniel Wagenknecht Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py index 2c8557e1f8..a104c9eb19 100644 --- a/bitbake/lib/bb/fetch2/ssh.py +++ b/bitbake/lib/bb/fetch2/ssh.py @@ -40,9 +40,9 @@ __pattern__ = re.compile(r''' ( # Optional username/password block (?P\S+) # username (:(?P\S+))? # colon followed by the password (optional) - )? (?P(;[^;]+)*)? # connection parameters block (optional) @ + )? (?P\S+?) # non-greedy match of the host (:(?P[0-9]+))? # colon followed by the port (optional) / -- cgit v1.2.3-54-g00ecf