From a716d991156aa04939496ba177c29ff87a26608c Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Wed, 31 Aug 2005 12:44:02 +0000 Subject: [PATCH] more local.conf rejigging git-svn-id: https://svn.o-hand.com/repos/poky@6 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- build/conf/{local.conf => local.conf.sample} | 4 ++-- openembedded/conf/local.conf.sample | 5 +++++ setdevenv | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) rename build/conf/{local.conf => local.conf.sample} (95%) diff --git a/build/conf/local.conf b/build/conf/local.conf.sample similarity index 95% rename from build/conf/local.conf rename to build/conf/local.conf.sample index 49d6fc7e1e..f933fb183f 100755 --- a/build/conf/local.conf +++ b/build/conf/local.conf.sample @@ -1,6 +1,6 @@ # Where to cache the files OE downloads -DL_DIR = "/usr/oe/sources" -BBFILES := "/usr/ohoe/openembedded/packages/*/*.bb" +DL_DIR = "POKYROOT/sources" +BBFILES := "POKYROOT/openembedded/packages/*/*.bb" BBMASK = "" PREFERRED_PROVIDERS = "virtual/qte:qte-for-opie virtual/libqpe:libqpe-opie" diff --git a/openembedded/conf/local.conf.sample b/openembedded/conf/local.conf.sample index 489b0deb19..52a0d5f120 100644 --- a/openembedded/conf/local.conf.sample +++ b/openembedded/conf/local.conf.sample @@ -1,3 +1,8 @@ +# XXXX NOTE XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +# +# This file is not used, see build/conf/local.conf instead +# +# XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # # OpenEmbedded local configuration file (sample) # diff --git a/setdevenv b/setdevenv index 0c3c572fe0..decbf6a30f 100755 --- a/setdevenv +++ b/setdevenv @@ -24,9 +24,9 @@ if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then exit 1 fi -if !(test -r $PKGDIR/conf/local.conf); then +if !(test -r $BUILDDIR/conf/local.conf); then echo "Setting up initial '$PKGDIR/conf/local.conf'." - cat $PKGDIR/conf/local.conf.sample | sed -e"s|POKYROOT|${OEROOT}|" > $PKGDIR/conf/local.conf + cat $BUILDDIR/conf/local.conf.sample | sed -e"s|POKYROOT|${OEROOT}|" > $BUILDDIR/conf/local.conf fi BBPATH=$BBDIR