Skip to contentSkip to conversation

netbase: use git fetcher

PATCH Superseded [email protected] 3 participants 8 messages Mar 16, 2020 – Jun 19, 2020 1 message not in the archive

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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
index bc0049c..c13685e 100644
@@ -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
author
#1 lore raw

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
index bc0049c..c13685e 100644
@@ -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

#2 lore raw
In reply to [email protected]
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.

---
 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

author
#3 lore raw

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.

---
 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

author
#4 lore raw
In reply to Richard Purdie

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.

---
 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

author
#6 lore raw
In reply to Richard Purdie

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
---
  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]

author
#8 lore raw

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

---
  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