Patchwork [bitbake-devel,3/3] ssh.py: add example SRC_URI

login
register
mail settings
Submitter Martin Jansa
Date Jan. 28, 2013, 3:56 p.m.
Message ID <1359388602-30536-3-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/43557/
State Accepted
Commit f838af8e7afebf279ffb00a3afa6592f061b703f
Headers show

Comments

Martin Jansa - Jan. 28, 2013, 3:56 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 lib/bb/fetch2/ssh.py | 6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/lib/bb/fetch2/ssh.py b/lib/bb/fetch2/ssh.py
index 721fb35..8b5acbf 100644
--- a/lib/bb/fetch2/ssh.py
+++ b/lib/bb/fetch2/ssh.py
@@ -10,6 +10,12 @@  IETF secsh internet draft:
     Currently does not support the sftp parameters, as this uses scp
     Also does not support the 'fingerprint' connection parameter.
 
+    Please note that '/' is used as host, path separator not ':' as you may 
+    be used to, also '~' can be used to specify user HOME, but again after '/'
+    
+    Example SRC_URI:
+    SRC_URI = "ssh://user@host.example.com/dir/path/file.txt"
+    SRC_URI = "ssh://user@host.example.com/~/file.txt"
 '''
 
 # Copyright (C) 2006  OpenedHand Ltd.