From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Andreas Helmcke <ahelmcke@ela-soft.com>
Cc: Christian Melki <christian.melki@t2data.com>, ptxdist@pengutronix.de
Subject: Re: [ptxdist] Source for opkg, opkg-utils, downloadlinks are broken
Date: Wed, 15 Apr 2026 12:13:57 +0200 [thread overview]
Message-ID: <ad9k5d8hxvhLRsEl@pengutronix.de> (raw)
In-Reply-To: <d96f0336-34ca-40c2-a6ee-87cb6cc69fd3@ela-soft.com>
Hi,
On Fri, Apr 10, 2026 at 07:31:23PM +0200, Andreas Helmcke wrote:
> I have problems finding a working source for opkg-utils.
>
> As far as I can tell git.yoctoproject.org killed off their snapshot functionality again. This time also for .tar.gz.
Right. Probably a anti AI crawler action :-/.
> Trying to fetch snapshots result in
> Unsupported snapshot format: opkg-utils-0.7.0.tar.gz
>
> For opkg tarballs still can be found at:
> https://downloads.yoctoproject.org/releases/opkg/
> so opkg.make can be fixed by changing the download url.
>
> Unfortunately, this doesn't work for opkg-utils, since there are no tarballs for opkg-utils at https://downloads.yoctoproject.org/releases/.
>
> I tried to switch to git but I do not know how to get it working with opkg-utils.
>
> The easy way with
> HOST_OPKG_UTILS_URL := https://git.yoctoproject.org/opkg-utils;tag=$(HOST_OPKG_UTILS_VERSION)
>
> doesn't work, because ptdist doesn't recognize that it's an URL to a Git repository because it does not end with .git.
>
> >From https://ptxdist.de/doc/ref_make_variables.html:
>
> <PKG>_URL
> ....
> Git URLs must either start with ‘git://’ or end with ‘.git’. They have a mandatory tag=<tagname> option.
>
> What is the best way to solve the problem?
As Christian Melki showed with his patches, you can use 'git+https://' to
tell PTXdist that this is a git URL. We should add that to the
documentation.
In general, for most (if not all) git servers, it is possible to just add
the '.git' suffix. It will be ignored by the server. So this should work as
well:
HOST_OPKG_UTILS_URL := https://git.yoctoproject.org/opkg-utils.git;tag=$(HOST_OPKG_UTILS_VERSION)
Michael
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2026-04-15 10:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-10 17:31 Andreas Helmcke
2026-04-15 10:13 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ad9k5d8hxvhLRsEl@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ahelmcke@ela-soft.com \
--cc=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox