From: Tom Rini <tom_rini@mentor.com>
To: openembedded-devel@lists.openembedded.org
Cc: "Eric Bénard" <eric@eukrea.com>
Subject: Re: [PATCH] own-mirrors.bbclass: allow mirroring of scm fetched packages
Date: Wed, 03 Nov 2010 16:41:24 -0700 [thread overview]
Message-ID: <4CD1F324.9090704@mentor.com> (raw)
In-Reply-To: <1288826934-8339-1-git-send-email-eric@eukrea.com>
Eric Bénard wrote:
> this way, it's possible to setup a local webserver (for example
> using busybox httpd -p "8081" -h backuped_download_dir) serving
> a presiously fetched download directory and to build wihout the
> need for an internet access
>
> this can also be used when connected to know to know which packages
> are missing from the local mirror's directory (and thus are fetched
> from internet as a fallback), it's possible to run the server this way :
> busybox httpd -p "8081" -h backuped_download_dir -vv -f | grep -B 1 response:404
> to get the name of the missing packages.
>
> Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
> ---
> classes/own-mirrors.bbclass | 7 ++++++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/classes/own-mirrors.bbclass b/classes/own-mirrors.bbclass
> index e8a0f48..720ce42 100644
> --- a/classes/own-mirrors.bbclass
> +++ b/classes/own-mirrors.bbclass
> @@ -1,4 +1,9 @@
> PREMIRRORS() {
> -https?://.*/.* ${SOURCE_MIRROR_URL}
> +cvs://.*/.* ${SOURCE_MIRROR_URL}
> +svn://.*/.* ${SOURCE_MIRROR_URL}
> +git://.*/.* ${SOURCE_MIRROR_URL}
> +hg://.*/.* ${SOURCE_MIRROR_URL}
> +bzr://.*/.* ${SOURCE_MIRROR_URL}
> +https?$://.*/.* ${SOURCE_MIRROR_URL}
> ftp://.*/.* ${SOURCE_MIRROR_URL}
> }
--
Tom Rini
Mentor Graphics Corporation
next prev parent reply other threads:[~2010-11-03 23:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 23:28 [PATCH] own-mirrors.bbclass: allow mirroring of scm fetched packages Eric Bénard
2010-11-03 23:41 ` Tom Rini [this message]
2010-11-03 23:58 ` Denys Dmytriyenko
2010-11-04 7:58 ` Frans Meulenbroeks
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=4CD1F324.9090704@mentor.com \
--to=tom_rini@mentor.com \
--cc=eric@eukrea.com \
--cc=openembedded-devel@lists.openembedded.org \
/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 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.