From: Peter Korsgaard <peter@korsgaard.com>
To: Arnout Vandecappelle <arnout@mind.be>
Cc: yann.morin.1998@free.fr, Yuan Tan <tanyuan@tinylab.org>,
buildroot@buildroot.org
Subject: Re: [Buildroot] Inquiry About Mirroring Methods for Buildroot Packages
Date: Wed, 13 Dec 2023 22:16:11 +0100 [thread overview]
Message-ID: <87cyv94xd0.fsf@48ers.dk> (raw)
In-Reply-To: <f63d5836-a4fe-467e-b928-184a4aafae26@mind.be> (Arnout Vandecappelle's message of "Wed, 13 Dec 2023 22:03:39 +0100")
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
> On 11/12/2023 10:56, Yuan Tan wrote:
>> Hi,
>> I am reaching out to inquire about the best practices for mirroring
>> Buildroot packages. We aim to establish a reliable mirror for these
>> packages, particularly to facilitate access for users in regions like
>> mainland China, where downloading packages can sometimes be challenging.
> We use cloudflare CDN. I just read up on it and it seems there's a
> separate CDN that needs to be enabled to serve China. Perhaps that
> just needs to be enabled?
> Peter?
Hmm, I guess you are referring to
https://www.cloudflare.com/application-services/products/china-network/?
If so, that doesn't look as if that is just something you can enable for
their free offering, E.G. you apparently need a "ICP license":
What is an ICP license
ICP is the short name for "Internet Content Provider". According to
Chinese regulations, all websites hosted in Mainland China or content
served from Chinese data centers (which is true for our China Network
service) needs to obtain an ICP "BeiAn备案" or "License 证" number for
every domain that serves content to your pages. This number needs to be
displayed on the footer of your pages.
>> I have two suggestions and would like to know if either is possible:
>> 1. Could you enable rsync for sources.buildroot.net? This would make
>> it
>> easier for mirror sites to stay updated.
>> 2. If rsync isn't an option, would it be okay to use wget to clone
>> the
>> entire sources.buildroot.net?
> Wouldn't it be easier to construct your own version, by running the
> same script that Peter uses to update actual sources.buildroot.net?
> Though IIUC that script is a bit of a hack.
yes, it is a big hack. It basically runs make allyespackageconfig &&
make source, but then does a number of mutations as well to try to catch
per-architecture packages or packages with multiple versions.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-12-13 21:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-11 9:56 [Buildroot] Inquiry About Mirroring Methods for Buildroot Packages Yuan Tan
2023-12-13 21:03 ` Arnout Vandecappelle via buildroot
2023-12-13 21:16 ` Peter Korsgaard [this message]
2023-12-17 8:15 ` Yuan Tan
2024-01-14 17:33 ` Yuan Tan
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=87cyv94xd0.fsf@48ers.dk \
--to=peter@korsgaard.com \
--cc=arnout@mind.be \
--cc=buildroot@buildroot.org \
--cc=tanyuan@tinylab.org \
--cc=yann.morin.1998@free.fr \
/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