Thread (4 messages) flat view 4 messages, 3 authors, 2012-08-01

[Buildroot] Manual password entry for DOWNLOAD_SCP scheme

From: Arnout Vandecappelle <hidden>
Date: 2012-07-31 15:05:20

On 07/31/12 16:55, Thomas De Schampheleire wrote:
Please keep the buildroot mailing list in copy of all mails.

On Tue, Jul 31, 2012 at 1:18 PM, Steve Goldberg
[off-list ref]  wrote:
quoted
Thomas,

Problem solved.  The DOWNLOAD_SCP requires two arguments, full path with
filename and filename.

Reading package/pkg-download.mk shows

DOWNLOAD $(FOO_SITE),$(FOO_SOURCE)

but scp seems to need

DOWNLOAD $(FOO_SITE)/$(FOO_SOURCE), $(FOO_SOURCE)
[...]
quoted
This is a summary of the ti-tools.mk.

XDC_VERSION=3_16_01_27
XDC_SITE=scp://host:/home/steve/TI_Tools
XDC_SOURCE=xdctools_setuplinux_$(XDC_VERSION).bin

$(DL_DIR)/$(XDC_SOURCE) :
         $(call DOWNLOAD_SCP,$(XDC_SITE)/$(XDC_SOURCE))
Note that you should call DOWNLOAD instead of DOWNLOAD_SCP directly.
This will make sure to respect the primary site and other mechanisms
that are in place.
  Moreover, you should use $(eval $(generic-package)) rather than manual
targets.  If necessary, you can define XDC_EXTRACT_COMMANDS to use a
custom extraction mechanism (i.e., running the .bin file).  But if you're
anyway keeping a local copy of the xdctools, you're better off extracting
it once and repacking it into a tar.bz2. Saves you a lot of pain figuring
out how to run the self-extractor non-interactively in a way that doesn't
mess up your home directory.

  Regards,
  Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help