Go to file
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
arch arch: drop BR2_BINFMT_FLAT_SEP_DATA support 2018-04-15 22:04:09 +02:00
board configs/freescale_imx31_3stack: Remove target 2018-05-06 08:59:45 +02:00
boot boot/uboot: default to kconfig buildsystem for latest version 2018-04-25 21:35:35 +02:00
configs qemu_arm_vexpress: Linux kernel update to 4.16.7 2018-05-08 15:24:22 +02:00
docs docs/manual: using a branch name as FOO_VERSION does not work 2018-05-11 23:03:21 +02:00
fs fs/squashfs: add zstd support 2018-04-25 23:39:04 +02:00
linux linux: bump default to version 4.16.8 2018-05-11 23:33:19 +02:00
package package/acl: fix install 2018-05-13 22:11:00 +02:00
support support/download/file: fix file:// protocol handling 2018-05-13 22:23:13 +02:00
system skeleton: add /dev/fd, /dev/std{in, out, err} symlinks for static /dev on readonly rootfs 2018-05-01 21:53:45 +02:00
toolchain toolchain/buildroot: fix default of C library choice 2018-05-13 22:09:34 +02:00
utils scanpypi: add support for the new PyPI infrastructure 2018-04-18 17:11:47 +02:00
.defconfig
.flake8 .flake8: ignore utils/diffconfig 2018-03-13 22:37:54 +01:00
.gitignore
.gitlab-ci.yml .gitlab-ci.yml: update after removal of freescale defconfigs 2018-05-06 17:36:37 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: extend check-package test to Config.* files 2018-04-01 10:16:35 +02:00
CHANGES CHANGES: additional updates for 2018.05-rc1 2018-05-09 22:53:39 +02:00
Config.in Config.in: add BR2_HOST_GCC_AT_LEAST_8 2018-05-02 14:50:14 +02:00
Config.in.legacy package/mplayer: remove package 2018-05-09 21:36:14 +02:00
COPYING
DEVELOPERS DEVELOPERS: Add myself to support/kconfig/ 2018-05-12 09:01:40 +02:00
Makefile Update for 2018.05-rc1 2018-05-09 23:00:18 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches