Skip to contentSkip to conversation

gflags: update downloadfilename

PATCH In review [email protected] 2 participants 3 messages Jun 29, 2017 – Jun 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gflags: update downloadfilename

From: Kai Kang <[email protected]>

The downloadfilename of gflags is not proper for multilib recipe. Replace it with ${BP}.

---
 meta-oe/recipes-support/gflags/gflags_2.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/gflags/gflags_2.2.0.bb +1 -1
index 5fc28f6..e2bac9a 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/gflags/gflags"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
 
-SRC_URI = "https://github.com/gflags/gflags/archive/v${PV}.tar.gz;downloadfilename=${PN}-${PV}.tar.gz"
+SRC_URI = "https://github.com/gflags/gflags/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
 SRC_URI[md5sum] = "b99048d9ab82d8c56e876fb1456c285e"
 SRC_URI[sha256sum] = "466c36c6508a451734e4f4d76825cf9cd9b8716d2b70ef36479ae40f08271f88"
 
Signature · 1 line
2.10.1
#1 lore raw

Change it to git fetcher, because github archives can be regenerated from time to time.

Quoted 37 lines · On Thu, Jun 29, 2017 at 11:05 AM, <[email protected]> wrote:

From: Kai Kang <[email protected]>

The downloadfilename of gflags is not proper for multilib recipe. Replace it with ${BP}.

---
 meta-oe/recipes-support/gflags/gflags_2.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/gflags/gflags_2.2.0.bb +0 -0
index 5fc28f6..e2bac9a 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/gflags/gflags"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551

df"

-SRC_URI = "https://github.com/gflags/gflags/archive/v${PV}.tar.gz; downloadfilename=${PN}-${PV}.tar.gz"
+SRC_URI = "https://github.com/gflags/gflags/archive/v${PV}.tar.gz; downloadfilename=${BP}.tar.gz"
SRC_URI[md5sum] = "b99048d9ab82d8c56e876fb1456c285e" SRC_URI[sha256sum] = "466c36c6508a451734e4f4d76825cf
9cd9b8716d2b70ef36479ae40f08271f88"

--
2.10.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#2 lore raw
Quoted 1 line · Martin Jansa

Change it to git fetcher, because github archives can be regenerated from time to time.

OK.

--Kai

Quoted 53 lines · On Thu, Jun 29, 2017 at 11:05 AM, <[email protected]…
    From: Kai Kang <[email protected]
    <mailto:[email protected]>>

    The downloadfilename of gflags is not proper for multilib recipe.
    Replace it with ${BP}.

    Signed-off-by: Kai Kang <[email protected]
    <mailto:[email protected]>>
    ---
     meta-oe/recipes-support/gflags/gflags_2.2.0.bb
    <http://gflags_2.2.0.bb> | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
    <http://gflags_2.2.0.bb>
    b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
    <http://gflags_2.2.0.bb>
    index 5fc28f6..e2bac9a 100644
    --- a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
    <http://gflags_2.2.0.bb>
    +++ b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
    <http://gflags_2.2.0.bb>
    @@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/gflags/gflags
    <https://github.com/gflags/gflags>"
     LICENSE = "BSD-3-Clause"
     LIC_FILES_CHKSUM =
    "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"

    -SRC_URI =
    "https://github.com/gflags/gflags/archive/v${PV}.tar.gz;downloadfilename=${PN}-${PV}.tar.gz
    <https://github.com/gflags/gflags/archive/v$%7BPV%7D.tar.gz;downloadfilename=$%7BPN%7D-$%7BPV%7D.tar.gz>"
    +SRC_URI =
    "https://github.com/gflags/gflags/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz
    <https://github.com/gflags/gflags/archive/v$%7BPV%7D.tar.gz;downloadfilename=$%7BBP%7D.tar.gz>"
     SRC_URI[md5sum] = "b99048d9ab82d8c56e876fb1456c285e"
     SRC_URI[sha256sum] =
    "466c36c6508a451734e4f4d76825cf9cd9b8716d2b70ef36479ae40f08271f88"

    --
    2.10.1

    --
    _______________________________________________
    Openembedded-devel mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-devel
    <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>
Signature · 2 lines
Regards,
Neil | Kai Kang