From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (hermes.mlbassoc.com [64.234.241.98]) by mx1.pokylinux.org (Postfix) with ESMTP id 2FA714C808B0 for ; Wed, 22 Dec 2010 09:24:47 -0600 (CST) Received: by mail.chez-thomas.org (Postfix, from userid 999) id DBDD21660537; Wed, 22 Dec 2010 08:24:46 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 71B1A16602E4; Wed, 22 Dec 2010 08:24:46 -0700 (MST) Message-ID: <4D12183E.9010105@mlbassoc.com> Date: Wed, 22 Dec 2010 08:24:46 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 MIME-Version: 1.0 To: Richard Purdie References: <4D10CB88.4040308@mlbassoc.com> <4D10D857.8080906@intel.com> <4D10F862.5040302@mlbassoc.com> <1292966869.25087.6574.camel@rex> <4D112B68.10303@mlbassoc.com> <4D12108B.2040503@mlbassoc.com> In-Reply-To: <4D12108B.2040503@mlbassoc.com> Cc: poky@yoctoproject.org Subject: Re: Write-protect $DL_DIR X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2010 15:24:47 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/22/2010 07:51 AM, Gary Thomas wrote: > On 12/21/2010 03:34 PM, Gary Thomas wrote: > ... snip >> >> I've tried your changes and they solve my problem well, thanks. >> > > I have had a problem with this (after more testing). Originally, > I had DL_DIR="/work/misc/Poky/sources/", using it somewhat like > a mirror. With your changes yesterday, I added these lines to > my distro.conf: > > # Provide pre-staged sources > PREMIRRORS_append = "\ > bzr://.*/.* file:///work/misc/Poky/sources/ \n \ > cvs://.*/.* file:///work/misc/Poky/sources/ \n \ > git://.*/.* file:///work/misc/Poky/sources/ \n \ > hg://.*/.* file:///work/misc/Poky/sources/ \n \ > osc://.*/.* file:///work/misc/Poky/sources/ \n \ > p4://.*/.* file:///work/misc/Poky/sources/ \n \ > svk://.*/.* file:///work/misc/Poky/sources/ \n \ > svn://.*/.* file:///work/misc/Poky/sources/ \n" > > MIRRORS_append = "\ > ftp://.*/.* file:///work/misc/Poky/sources/ \n \ > http://.*/.* file:///work/misc/Poky/sources/ \n \ > https://.*/.* file:///work/misc/Poky/sources/ \n" > > require conf/distro/include/my-fixed-revisions.inc > require conf/distro/poky.conf > > I also disabled DL_DIR in local.conf, falling back to using > "downloads" in my build tree (/work/local/new_p60). > > As you can see, my distro uses Poky as its base, just overriding > and/or adding some features for our environment. > > With this setup, the build for gconf-dbus_svn fails in the > unpack stage, with this error: > NOTE: Unpacking /work/local/new_p60/downloads/trunk_developer.imendio.com_.svn.gconf-dbus_705_.tar.gz to > /work/local/new_p60/tmp/work/armv7a-poky-linux-gnueabi/gconf-dbus-2.16.0+svnr705-r0/ > tar: /work/local/new_p60/downloads/trunk_developer.imendio.com_.svn.gconf-dbus_705_.tar.gz: Cannot open: No such file or directory > > Did I set this up incorrectly? > Note: it also fails if I only use the pure poky.conf (not touching PREMIRRORS or MIRRORS in my distro.conf) -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------