own-mirrors.bbclass: allow mirroring of scm fetched packages
authorEric BENARD <eric@eukrea.com>
Wed, 3 Nov 2010 13:28:54 +0000 (13:28 +0000)
committerTom Rini <tom_rini@mentor.com>
Thu, 4 Nov 2010 14:54:04 +0000 (07:54 -0700)
commit0ef914b250df46a41348479446214575668943fb
tree6e5df54cd669faed9cb07f5263314cdcbf5f13f6
parent6ee447abb7bb2464b1d8afb61f927a7f6c2a2a0b
own-mirrors.bbclass: allow mirroring of scm fetched packages

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: Denys Dmytriyenko <denis@denix.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
classes/own-mirrors.bbclass