All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] netbase: use git fetcher
@ 2020-03-16  9:24 mingli.yu
  2020-03-31  8:09 ` [OE-core] " Yu, Mingli
  2020-04-01  9:20 ` Richard Purdie
  0 siblings, 2 replies; 8+ messages in thread
From: mingli.yu @ 2020-03-16  9:24 UTC (permalink / raw)
  To: openembedded-core

From: Mingli Yu <mingli.yu@windriver.com>

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 <mingli.yu@windriver.com>
---
 meta/recipes-core/netbase/netbase_6.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/netbase/netbase_6.1.bb b/meta/recipes-core/netbase/netbase_6.1.bb
index bc0049c..c13685e 100644
--- a/meta/recipes-core/netbase/netbase_6.1.bb
+++ b/meta/recipes-core/netbase/netbase_6.1.bb
@@ -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



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [OE-core] [PATCH] netbase: use git fetcher
  2020-03-16  9:24 [PATCH] netbase: use git fetcher mingli.yu
@ 2020-03-31  8:09 ` Yu, Mingli
  2020-04-01  9:20 ` Richard Purdie
  1 sibling, 0 replies; 8+ messages in thread
From: Yu, Mingli @ 2020-03-31  8:09 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1762 bytes --]

Ping.

Thanks,
Mingli
________________________________
From: openembedded-core-bounces@lists.openembedded.org <openembedded-core-bounces@lists.openembedded.org> on behalf of mingli.yu@windriver.com <mingli.yu@windriver.com>
Sent: Monday, March 16, 2020 17:24
To: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org>
Subject: [OE-core] [PATCH] netbase: use git fetcher

From: Mingli Yu <mingli.yu@windriver.com>

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 <mingli.yu@windriver.com>
---
 meta/recipes-core/netbase/netbase_6.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/netbase/netbase_6.1.bb b/meta/recipes-core/netbase/netbase_6.1.bb
index bc0049c..c13685e 100644
--- a/meta/recipes-core/netbase/netbase_6.1.bb
+++ b/meta/recipes-core/netbase/netbase_6.1.bb
@@ -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
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

[-- Attachment #2: Type: text/html, Size: 3344 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [OE-core] [PATCH] netbase: use git fetcher
  2020-03-16  9:24 [PATCH] netbase: use git fetcher mingli.yu
  2020-03-31  8:09 ` [OE-core] " Yu, Mingli
@ 2020-04-01  9:20 ` Richard Purdie
  2020-04-02  1:04   ` Yu, Mingli
                     ` (3 more replies)
  1 sibling, 4 replies; 8+ messages in thread
From: Richard Purdie @ 2020-04-01  9:20 UTC (permalink / raw)
  To: mingli.yu, openembedded-core

On Mon, 2020-03-16 at 17:24 +0800, mingli.yu@windriver.com wrote:
> From: Mingli Yu <mingli.yu@windriver.com>
> 
> 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 <mingli.yu@windriver.com>
> ---
>  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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [OE-core] [PATCH] netbase: use git fetcher
  2020-04-01  9:20 ` Richard Purdie
@ 2020-04-02  1:04   ` Yu, Mingli
  2020-04-02  2:37   ` Yu, Mingli
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Yu, Mingli @ 2020-04-02  1:04 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 922 bytes --]

I will look into it.

Thanks,
Mingli
________________________________
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Sent: Wednesday, April 1, 2020 17:20
To: Yu, Mingli <Mingli.Yu@windriver.com>; openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] netbase: use git fetcher

On Mon, 2020-03-16 at 17:24 +0800, mingli.yu@windriver.com wrote:
> From: Mingli Yu <mingli.yu@windriver.com>
>
> 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 <mingli.yu@windriver.com>
> ---
>  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


[-- Attachment #2: Type: text/html, Size: 2217 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [OE-core] [PATCH] netbase: use git fetcher
  2020-04-01  9:20 ` Richard Purdie
  2020-04-02  1:04   ` Yu, Mingli
@ 2020-04-02  2:37   ` Yu, Mingli
  2020-04-02  3:01     ` Anuj Mittal
  2020-06-15  1:49   ` Yu, Mingli
       [not found]   ` <16189495E5DBCB85.29686@lists.openembedded.org>
  3 siblings, 1 reply; 8+ messages in thread
From: Yu, Mingli @ 2020-04-02  2:37 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

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 <richard.purdie@linuxfoundation.org>
Sent: Wednesday, April 1, 2020 17:20
To: Yu, Mingli <Mingli.Yu@windriver.com>; openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] netbase: use git fetcher

On Mon, 2020-03-16 at 17:24 +0800, mingli.yu@windriver.com wrote:
> From: Mingli Yu <mingli.yu@windriver.com>
>
> 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 <mingli.yu@windriver.com>
> ---
>  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


[-- Attachment #2: Type: text/html, Size: 2545 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [OE-core] [PATCH] netbase: use git fetcher
  2020-04-02  2:37   ` Yu, Mingli
@ 2020-04-02  3:01     ` Anuj Mittal
  0 siblings, 0 replies; 8+ messages in thread
From: Anuj Mittal @ 2020-04-02  3:01 UTC (permalink / raw)
  To: richard.purdie, mingli.yu, openembedded-core

On Thu, 2020-04-02 at 02:37 +0000, Yu, Mingli wrote:
> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [OE-core] [PATCH] netbase: use git fetcher
  2020-04-01  9:20 ` Richard Purdie
  2020-04-02  1:04   ` Yu, Mingli
  2020-04-02  2:37   ` Yu, Mingli
@ 2020-06-15  1:49   ` Yu, Mingli
       [not found]   ` <16189495E5DBCB85.29686@lists.openembedded.org>
  3 siblings, 0 replies; 8+ messages in thread
From: Yu, Mingli @ 2020-06-15  1:49 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core

Hi RP,

On 4/1/20 5:20 PM, Richard Purdie wrote:
> On Mon, 2020-03-16 at 17:24 +0800, mingli.yu@windriver.com wrote:
>> From: Mingli Yu <mingli.yu@windriver.com>
>>
>> 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 <mingli.yu@windriver.com>
>> ---
>>   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

> 
> Cheers,
> 
> Richard
> 
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [OE-core] [PATCH] netbase: use git fetcher
       [not found]   ` <16189495E5DBCB85.29686@lists.openembedded.org>
@ 2020-06-19  7:57     ` Yu, Mingli
  0 siblings, 0 replies; 8+ messages in thread
From: Yu, Mingli @ 2020-06-19  7:57 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core

Ping.

Thanks,

On 6/15/20 9:49 AM, Yu, Mingli wrote:
> Hi RP,
> 
> On 4/1/20 5:20 PM, Richard Purdie wrote:
>> On Mon, 2020-03-16 at 17:24 +0800, mingli.yu@windriver.com wrote:
>>> From: Mingli Yu <mingli.yu@windriver.com>
>>>
>>> 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 <mingli.yu@windriver.com>
>>> ---
>>>   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
> 
>>
>> Cheers,
>>
>> Richard
>>
>>
> 
> 
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-06-19  7:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16  9:24 [PATCH] netbase: use git fetcher mingli.yu
2020-03-31  8:09 ` [OE-core] " Yu, Mingli
2020-04-01  9:20 ` Richard Purdie
2020-04-02  1:04   ` Yu, Mingli
2020-04-02  2:37   ` Yu, Mingli
2020-04-02  3:01     ` Anuj Mittal
2020-06-15  1:49   ` Yu, Mingli
     [not found]   ` <16189495E5DBCB85.29686@lists.openembedded.org>
2020-06-19  7:57     ` Yu, Mingli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.