* [PATCH] debianutils: change SRC_URI to use snapshot.debian.org
@ 2020-09-03 10:54 Ross Burton
2020-09-03 13:42 ` [OE-core] " Alexander Kanavin
0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2020-09-03 10:54 UTC (permalink / raw)
To: openembedded-core
The primary Debian archive only contains tarballs which are currently
shipped in a release, so it's easy for a tarball we need to disappear.
Instead, point at snapshot.debian.org to ensure the link remains valid.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta/recipes-support/debianutils/debianutils_4.11.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-support/debianutils/debianutils_4.11.1.bb b/meta/recipes-support/debianutils/debianutils_4.11.1.bb
index 71fc99e29b..ef7aa50408 100644
--- a/meta/recipes-support/debianutils/debianutils_4.11.1.bb
+++ b/meta/recipes-support/debianutils/debianutils_4.11.1.bb
@@ -3,7 +3,7 @@ SECTION = "base"
LICENSE = "GPLv2 & SMAIL_GPL"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=9b912cd0cc654134c0ef3424a0705b94"
-SRC_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/${BPN}_${PV}.tar.xz"
+SRC_URI = "http://snapshot.debian.org/archive/debian/20200525T145753Z/pool/main/d/${BPN}/${BPN}_${PV}.tar.xz"
# the package is taken from snapshots.debian.org; that source is static and goes stale
# so we check the latest upstream from a directory that does get updated
UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/"
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [OE-core] [PATCH] debianutils: change SRC_URI to use snapshot.debian.org
2020-09-03 10:54 [PATCH] debianutils: change SRC_URI to use snapshot.debian.org Ross Burton
@ 2020-09-03 13:42 ` Alexander Kanavin
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2020-09-03 13:42 UTC (permalink / raw)
To: Ross Burton; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]
This breaks automated upgrades unfortunately (upstream check works, but
upgrade itself won't figure out a newer snapshot URI).
Is it possible to convert this to fetch from git instead?
Alex
On Thu, 3 Sep 2020 at 12:54, Ross Burton <ross@burtonini.com> wrote:
> The primary Debian archive only contains tarballs which are currently
> shipped in a release, so it's easy for a tarball we need to disappear.
> Instead, point at snapshot.debian.org to ensure the link remains valid.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> meta/recipes-support/debianutils/debianutils_4.11.1.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-support/debianutils/debianutils_4.11.1.bb
> b/meta/recipes-support/debianutils/debianutils_4.11.1.bb
> index 71fc99e29b..ef7aa50408 100644
> --- a/meta/recipes-support/debianutils/debianutils_4.11.1.bb
> +++ b/meta/recipes-support/debianutils/debianutils_4.11.1.bb
> @@ -3,7 +3,7 @@ SECTION = "base"
> LICENSE = "GPLv2 & SMAIL_GPL"
> LIC_FILES_CHKSUM =
> "file://debian/copyright;md5=9b912cd0cc654134c0ef3424a0705b94"
>
> -SRC_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/${BPN}_${PV}.tar.xz"
> +SRC_URI = "
> http://snapshot.debian.org/archive/debian/20200525T145753Z/pool/main/d/${BPN}/${BPN}_${PV}.tar.xz
> "
> # the package is taken from snapshots.debian.org; that source is static
> and goes stale
> # so we check the latest upstream from a directory that does get updated
> UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/"
> --
> 2.25.1
>
>
>
[-- Attachment #2: Type: text/html, Size: 2777 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-03 13:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03 10:54 [PATCH] debianutils: change SRC_URI to use snapshot.debian.org Ross Burton
2020-09-03 13:42 ` [OE-core] " Alexander Kanavin
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.