Go to file
Yegor Yefremov 577c3a7d97 utils/scanpypi: use archive file name to specify the extraction folder
Some packages have archive name that is different from package name.
For example websocket-client's archive name is websocket_client-*.tar.gz.
scanpypi expects the temporary extract folder to be:

/tmp-folder/BR-package-name/PyPI-packagename-and-version

In the case of websocket-client package the real extraction folder
will be different from the expected one because of the '_' in the
archive file name.

Use archive file name instead of package name to specify the extraction
folder. As the version is already part of this file, we don't need to
specify it.

Bonus: remove obsolete "return None, None" as the function doesn't return
anything. OSError class doesn't provide "message" member, so replace it
with "strerror".

Fixes:
https://bugs.busybox.net/show_bug.cgi?id=11251

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit fd29797f65)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-11-14 23:33:56 +01:00
arch arch: drop now useless support for FDPIC 2018-07-01 15:17:27 +02:00
board board/zynqmp/post-image.sh: support dots in DTS file names 2018-11-13 23:52:45 +01:00
boot boot/uboot: fix environment image generation on big endian systems 2018-10-24 13:56:13 +02:00
configs configs/{at91, atmel}*_dev*: drop Dropbear as it duplicates OpenSSH 2018-11-14 09:14:20 +01:00
docs docs/manual: add external.desc to list of files needed for BR2_EXTERNAL 2018-11-14 23:28:54 +01:00
fs fs/common: allow custom user table to override package-defined users 2018-10-24 14:21:16 +02:00
linux linux: bump default to version 4.17.19 2018-08-24 18:17:52 +02:00
package nfs-utils: add patch to fix build with glibc 2.28 2018-11-14 23:20:50 +01:00
support support/scripts/mkmakefile: make wrapper silent by default 2018-11-14 23:25:33 +01:00
system system: update Config.in comment about systemd dependencies 2018-10-01 22:54:46 +02:00
toolchain toolchain: add 4.18.x choice for headers 2018-09-06 21:17:09 +02:00
utils utils/scanpypi: use archive file name to specify the extraction folder 2018-11-14 23:33:56 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 .flake8: ignore utils/diffconfig 2018-03-13 22:37:54 +01:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
.gitlab-ci.yml .gitlab-ci.yml: do runtime tests only on explicit trigger 2018-10-26 21:38:01 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: do runtime tests only on explicit trigger 2018-10-26 21:38:01 +02:00
CHANGES Update for 2018.08.2 2018-10-25 14:40:48 +02:00
Config.in core: support host gcc of the future 2018-10-24 17:54:58 +02:00
Config.in.legacy package/x11r7/xserver_xorg-server: bump version to 1.20.0 2018-07-28 23:10:41 +02:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS DEVELOPERS: Fix file order list maintained by me 2018-09-05 23:44:55 +02:00
Makefile Update for 2018.08.2 2018-10-25 14:40:48 +02:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

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