netbase: use git fetcher
PATCH 1/1 netbase: use git fetcher
From: Mingli Yu <[email protected]>
Use git repo as the the previous URL only stores
the latest source file and fails to locate the
source tar file if we don't upgrade timely.
--- meta/recipes-core/netbase/netbase_6.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/netbase/netbase_6.1.bb +3 -3
@@ -6,10 +6,10 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" PE = "1" -SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.tar.xz" +SRC_URI = "git://salsa.debian.org/md/netbase.git;protocol=https" +SRCREV = "0fc1e4ce39328f7388badace0aaf7b7294d5ed61" -SRC_URI[md5sum] = "e5871a3a5c8390557b8033cf19316a55" -SRC_URI[sha256sum] = "084d743bd84d4d9380bac4c71c51e57406dce44f5a69289bb823c903e9b035d8" +S = "${WORKDIR}/git" UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netbase/" do_install () {
Signature · 1 line
2.7.4
Ping.
Thanks,
Mingli
________________________________
From: [email protected] <[email protected]> on behalf of [email protected] <[email protected]>
Sent: Monday, March 16, 2020 17:24
To: [email protected] <[email protected]>
Subject: [OE-core] [PATCH] netbase: use git fetcher
From: Mingli Yu <[email protected]>
Use git repo as the the previous URL only stores
the latest source file and fails to locate the
source tar file if we don't upgrade timely.
--- meta/recipes-core/netbase/netbase_6.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/netbase/netbase_6.1.bb +3 -3
@@ -6,10 +6,10 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" PE = "1" -SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.tar.xz" +SRC_URI = "git://salsa.debian.org/md/netbase.git;protocol=https" +SRCREV = "0fc1e4ce39328f7388badace0aaf7b7294d5ed61" -SRC_URI[md5sum] = "e5871a3a5c8390557b8033cf19316a55" -SRC_URI[sha256sum] = "084d743bd84d4d9380bac4c71c51e57406dce44f5a69289bb823c903e9b035d8" +S = "${WORKDIR}/git" UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netbase/" do_install () {
--
2.7.4
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 10 lines · On Mon, 2020-03-16 at 17:24 +0800, [email protected] wrote:
From: Mingli Yu <[email protected]>
Use git repo as the the previous URL only stores
the latest source file and fails to locate the
source tar file if we don't upgrade timely.Signed-off-by Mingli Yu <[email protected]>--- meta/recipes-core/netbase/netbase_6.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Breaks reproducible builds:
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/825
Cheers,
Richard
I will look into it.
Thanks,
Mingli
________________________________
From: Richard Purdie <[email protected]>
Sent: Wednesday, April 1, 2020 17:20
To: Yu, Mingli <[email protected]>; [email protected] <[email protected]>
Subject: Re: [OE-core] [PATCH] netbase: use git fetcher
Quoted 10 lines · On Mon, 2020-03-16 at 17:24 +0800, [email protected] wrote:
From: Mingli Yu <[email protected]>
Use git repo as the the previous URL only stores
the latest source file and fails to locate the
source tar file if we don't upgrade timely.Signed-off-by Mingli Yu <[email protected]>--- meta/recipes-core/netbase/netbase_6.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Breaks reproducible builds:
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/825
Cheers,
Richard
Hi RP,
What's the error do you mean? I didn't find the error related to netbase, could you help to provide more info?
Thanks,
Mingli
________________________________
From: Richard Purdie <[email protected]>
Sent: Wednesday, April 1, 2020 17:20
To: Yu, Mingli <[email protected]>; [email protected] <[email protected]>
Subject: Re: [OE-core] [PATCH] netbase: use git fetcher
Quoted 10 lines · On Mon, 2020-03-16 at 17:24 +0800, [email protected] wrote:
From: Mingli Yu <[email protected]>
Use git repo as the the previous URL only stores
the latest source file and fails to locate the
source tar file if we don't upgrade timely.Signed-off-by Mingli Yu <[email protected]>--- meta/recipes-core/netbase/netbase_6.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Breaks reproducible builds:
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/825
Cheers,
Richard
Quoted 4 lines · Mingli
Hi RP,
What's the error do you mean? I didn't find the error related to netbase, could you help to provide more info?
It's here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/825/steps/8/logs/step2d
Thanks,
Anuj
Hi RP,
Quoted 7 lines · Richard Purdie
Quoted 6 lines · On Mon, 2020-03-16 at 17:24 +0800, [email protected] wrote:
From: Mingli Yu <[email protected]>
Use git repo as the the previous URL only stores
the latest source file and fails to locate the
source tar file if we don't upgrade timely.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Mingli Yu <[email protected]>--- meta/recipes-core/netbase/netbase_6.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Breaks reproducible builds:
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/825
I run reproducible build locally with "oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds" and It succeeds with this commit.
BTW, the netbase only introduces 3 files as below:
# rpm -ql netbase
/etc
/etc/protocols
/etc/rpc
/etc/services
And I did the three files' checksum and the checksum turns out to be the same when with the commit and without the commit.
Thanks,
Grace
Quoted 6 lines
Cheers,
Richard
A message that is not in the archive (sent off-list or not yet received): [email protected]
Ping.
Thanks,
Quoted 46 lines · Mingli
Hi RP,
Quoted 7 lines · Richard Purdie
Quoted 6 lines · On Mon, 2020-03-16 at 17:24 +0800, [email protected] wrote:
From: Mingli Yu <[email protected]>
Use git repo as the the previous URL only stores
the latest source file and fails to locate the
source tar file if we don't upgrade timely.Quoted 8 lines
Quoted 4 lines
Signed-off-by Mingli Yu <[email protected]>---
meta/recipes-core/netbase/netbase_6.1.bb | 6 +++---1 file changed, 3 insertions(+), 3 deletions(-)Breaks reproducible builds:
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/825
I run reproducible build locally with "oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds" and It succeeds with this commit.
BTW, the netbase only introduces 3 files as below:
# rpm -ql netbase/etc
/etc/protocols
/etc/rpc
/etc/servicesAnd I did the three files' checksum and the checksum turns out to be the same when with the commit and without the commit.
Thanks,
GraceQuoted 6 lines
Cheers,
Richard