aboutsummaryrefslogtreecommitdiff
path: root/board/raspberrypi/genimage-raspberrypi.cfg
diff options
context:
space:
mode:
authorGravatar Yegor Yefremov <yegorslists@googlemail.com>2018-11-02 14:45:01 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-02 21:35:08 +0100
commitfd29797f659c09cbc2aeba33f8d6f5b992e65cd4 (patch)
treed89cfb7cfd88d53c589256e2a52deab1ed59f668 /board/raspberrypi/genimage-raspberrypi.cfg
parent4e1dbd063d1f3ea7dfc95698320f6fd40139085d (diff)
downloadbuildroot-fd29797f659c09cbc2aeba33f8d6f5b992e65cd4.tar.gz
buildroot-fd29797f659c09cbc2aeba33f8d6f5b992e65cd4.tar.bz2
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>
Diffstat (limited to 'board/raspberrypi/genimage-raspberrypi.cfg')
0 files changed, 0 insertions, 0 deletions