]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
packaged-staging: basic support for pulling staging packages from a mirror
authorJoshua Lock <josh@linux.intel.com>
Fri, 29 Jan 2010 12:27:30 +0000 (12:27 +0000)
committerJoshua Lock <josh@linux.intel.com>
Fri, 29 Jan 2010 12:33:46 +0000 (12:33 +0000)
Add simple support for trying to fetch staging packages from a http, https  or
ftp mirror if they do not already exist in PSTAGE_DIR.

As documented in local.conf.sample
"Poky can try and fetch packaged-staging packages from a http, https or ftp
mirror. Set this variable to the root of a pstage directory on a server."

If the PSTAGE_MIRROR variable is not set, or the package cannot be found on
the mirror it will be built as usual.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
build/conf/local.conf.sample

index 149c73d6645b75ce6a4abcbe65f9d1fb6be5b883..14af548efd83f5b1d6522bc3ed14ed18941258d2 100644 (file)
@@ -159,3 +159,7 @@ ENABLE_BINARY_LOCALE_GENERATION = "1"
 # on an x86_64 host.
 # Supported values are i586 and x86_64
 #SDKMACHINE="i586"
+
+# Poky can try and fetch packaged-staging packages from a http, https or ftp
+# mirror. Set this variable to the root of a pstage directory on a server.
+#PSTAGE_MIRROR ?= "http://someserver.tld/share/pstage"