Skip to contentSkip to conversation

eudev/pigz: set downloadfilename

PATCH New Robert Yang 1 participant 3 messages Feb 20, 2017

lore
Share & tools
lore
#0 lore raw

cover eudev/pigz: set downloadfilename

The following changes since commit def3800c7e58d9d1b54ea1df27b190a0f6d1d544:

layer.conf: bump version for change in eSDK selftest behaviour (2017-02-19 09:38:59 -0800)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/fetch
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/fetch

Robert Yang (2):
eudev: set downloadfilename
pigz: set downloadfilename

 meta/recipes-core/udev/eudev_3.2.bb      | 2 +-
 meta/recipes-extended/pigz/pigz_2.3.4.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.11.0.rc2.dirty
#1 lore raw

PATCH 1/2 eudev: set downloadfilename

Otherwise, the filename is v${PV}.tar.gz which isn't straightforward.

---
 meta/recipes-core/udev/eudev_3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/udev/eudev_3.2.bb +1 -1
index 11931bc0f37..45df5d45ee4 100644
@@ -7,7 +7,7 @@ DEPENDS = "glib-2.0 glib-2.0-native gperf-native kmod libxslt-native util-linux"
 
 PROVIDES = "udev"
 
-SRC_URI = "https://github.com/gentoo/${BPN}/archive/v${PV}.tar.gz \
+SRC_URI = "https://github.com/gentoo/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz \
            file://devfs-udev.rules \
            file://init \
            file://links.conf \
Signature · 1 line
2.11.0.rc2.dirty
#2 lore raw

PATCH 2/2 pigz: set downloadfilename

In reply to Robert Yang

Otherwise, the filename is v${PV}.tar.gz which isn't straightforward.

---
 meta/recipes-extended/pigz/pigz_2.3.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/pigz/pigz_2.3.4.bb +1 -1
index 53c56c59479..f4832dffe15 100644
@@ -3,7 +3,7 @@ LIC_FILES_CHKSUM = "file://pigz.c;beginline=7;endline=21;md5=a21d4075cb00ab4ca17
 
 UPSTREAM_CHECK_URI = "http://zlib.net/${BPN}/"
 UPSTREAM_CHECK_REGEX = "pigz-(?P<pver>.*)\.tar"
-SRC_URI = "https://github.com/madler/pigz/archive/v${PV}.tar.gz"
+SRC_URI = "https://github.com/madler/pigz/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
 SRC_URI[md5sum] = "c109057050b15edf3eb9bb4d0805235e"
 SRC_URI[sha256sum] = "763f2fdb203aa0b7b640e63385e38e5dd4e5aaa041bc8e42aa96f2ef156b06e8"
 
Signature · 1 line
2.11.0.rc2.dirty