apt: update SRC_URI

Submitted by changqing.li@windriver.com on Nov. 1, 2018, 3:15 a.m. | Patch ID: 156020

Details

Message ID 1541042117-20190-1-git-send-email-changqing.li@windriver.com
State Master Next
Commit 0b5972c8189dade0e77df175651b8d8707647bb1
Headers show

Commit Message

changqing.li@windriver.com Nov. 1, 2018, 3:15 a.m.
From: Changqing Li <changqing.li@windriver.com>

update SRC_URI since previous link is not valid now

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 meta/recipes-devtools/apt/apt.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
index f1cde30..50f22c8 100644
--- a/meta/recipes-devtools/apt/apt.inc
+++ b/meta/recipes-devtools/apt/apt.inc
@@ -2,7 +2,7 @@  SUMMARY = "Advanced front-end for dpkg"
 LICENSE = "GPLv2.0+"
 SECTION = "base"
 
-SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
+SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz \
            file://use-host.patch \
            file://makerace.patch \
            file://no-nls-dpkg.patch \

Comments

Ross Burton Nov. 1, 2018, 11:12 a.m.
Why are we using ubuntu's archive instead of the canonical Debian
repository?  The idiom for Debian packages is to use
snapshot.debian.org.

Ross
On Thu, 1 Nov 2018 at 03:16, <changqing.li@windriver.com> wrote:
>
> From: Changqing Li <changqing.li@windriver.com>
>
> update SRC_URI since previous link is not valid now
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
>  meta/recipes-devtools/apt/apt.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
> index f1cde30..50f22c8 100644
> --- a/meta/recipes-devtools/apt/apt.inc
> +++ b/meta/recipes-devtools/apt/apt.inc
> @@ -2,7 +2,7 @@ SUMMARY = "Advanced front-end for dpkg"
>  LICENSE = "GPLv2.0+"
>  SECTION = "base"
>
> -SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
> +SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz \
>             file://use-host.patch \
>             file://makerace.patch \
>             file://no-nls-dpkg.patch \
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
changqing.li@windriver.com Nov. 2, 2018, 1:22 a.m.
On 11/1/18 7:12 PM, Burton, Ross wrote:
> Why are we using ubuntu's archive instead of the canonical Debian
> repository?  The idiom for Debian packages is to use
> snapshot.debian.org.
>
> Ross

I have checked snapshot.debian.org.  apt_1.2.24 don't  on it.  so I use 
current link.


//changqing

> On Thu, 1 Nov 2018 at 03:16, <changqing.li@windriver.com> wrote:
>> From: Changqing Li <changqing.li@windriver.com>
>>
>> update SRC_URI since previous link is not valid now
>>
>> Signed-off-by: Changqing Li <changqing.li@windriver.com>
>> ---
>>   meta/recipes-devtools/apt/apt.inc | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
>> index f1cde30..50f22c8 100644
>> --- a/meta/recipes-devtools/apt/apt.inc
>> +++ b/meta/recipes-devtools/apt/apt.inc
>> @@ -2,7 +2,7 @@ SUMMARY = "Advanced front-end for dpkg"
>>   LICENSE = "GPLv2.0+"
>>   SECTION = "base"
>>
>> -SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
>> +SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz \
>>              file://use-host.patch \
>>              file://makerace.patch \
>>              file://no-nls-dpkg.patch \
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
Jonathan Liu Nov. 19, 2018, 10:54 a.m.
Hi,

On Thu, 1 Nov 2018 at 14:16, <changqing.li@windriver.com> wrote:
>
> From: Changqing Li <changqing.li@windriver.com>
>
> update SRC_URI since previous link is not valid now
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com>
> ---
>  meta/recipes-devtools/apt/apt.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
> index f1cde30..50f22c8 100644
> --- a/meta/recipes-devtools/apt/apt.inc
> +++ b/meta/recipes-devtools/apt/apt.inc
> @@ -2,7 +2,7 @@ SUMMARY = "Advanced front-end for dpkg"
>  LICENSE = "GPLv2.0+"
>  SECTION = "base"
>
> -SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
> +SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz \

Why don't you replace apt with ${BPN} and 1.2.24 with ${PV} in SRC_URI?

>             file://use-host.patch \
>             file://makerace.patch \
>             file://no-nls-dpkg.patch \
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

Regards,
Jonathan
Richard Purdie Nov. 20, 2018, 2:10 p.m.
On Mon, 2018-11-19 at 21:54 +1100, Jonathan Liu wrote:
> -SRC_URI = "
> > http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz
> >  \
> > +SRC_URI = "
> > https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz
> >  \
> 
> Why don't you replace apt with ${BPN} and 1.2.24 with ${PV} in
> SRC_URI?

I tweaked this since it was easier than trying to remember to track
this :)

Cheers,

Richard
changqing.li@windriver.com Nov. 21, 2018, 2:01 a.m.
On 11/20/18 10:10 PM, Richard Purdie wrote:
> On Mon, 2018-11-19 at 21:54 +1100, Jonathan Liu wrote:
>> -SRC_URI = "
>>> http://archive.ubuntu.com/ubuntu/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz
>>>   \
>>> +SRC_URI = "
>>> https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/apt/1.2.24/${BPN}_${PV}.tar.xz
>>>   \
>> Why don't you replace apt with ${BPN} and 1.2.24 with ${PV} in
>> SRC_URI?
> I tweaked this since it was easier than trying to remember to track
> this :)
>
> Cheers,
>
> Richard
>
Thanks. :)