kumquat-buildroot/support
Angelo Compagnucci a9bb361435 support/download/file: fix file:// protocol handling
Since the rework of the download infrastructure, the "file" download
helper gets passed an URL that starts with file://, but forgets to
strip it before passing it to "cp", causing a failure as the "cp"
program isn't prepared for file paths starting with file://. This is
fixed by stripping the file:// at the beginning of the URL.

In addition, the path passed to cp lacked a slash between the
directory path and the filename part of the url. This is fixed by
adding a slash at the appropriate places.

Fixes the following build failure when the "file" download method is
used:

cp: cannot stat 'file:///home/angelo/DEV/TOOLCHAINSarmv7-eabihf--glibc--bleeding-edge-2017.11-1.tar.bz2': No such file or directory

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-05-13 22:23:13 +02:00
..
config-fragments support/config-fragments/autobuild: update ARC pre-built toolchain 2018-04-22 12:28:41 +02:00
dependencies support/dependencies: check that PATH does not contain CWD 2018-05-09 23:26:18 +02:00
docker support/dockerfile: install flake8 2018-03-13 22:32:36 +01:00
download support/download/file: fix file:// protocol handling 2018-05-13 22:23:13 +02:00
gnuconfig
kconfig support/kconfig: Add missing target to README.buildroot 2018-05-13 22:09:01 +02:00
legal-info legal-info: add hash for our own license file 2017-07-05 16:31:40 +02:00
libtool
misc Update for 2018.02 2018-03-04 22:28:34 +01:00
scripts support/scripts: drop xorg-release script 2018-04-27 22:50:36 +02:00
testing support/testing: set $USER in rust tests 2018-04-29 09:57:32 +02:00