From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mx1.pokylinux.org (Postfix) with ESMTP id 0BD6B4C80050 for ; Tue, 21 Dec 2010 10:44:57 -0600 (CST) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id oBLGkJ92018262; Tue, 21 Dec 2010 16:46:19 GMT X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uLvPKTNsfL4a; Tue, 21 Dec 2010 16:46:19 +0000 (GMT) Received: from [192.168.1.42] (tim [93.97.173.237]) (authenticated bits=0) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id oBLGkBlN018256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Dec 2010 16:46:15 GMT From: Richard Purdie To: Gary Thomas In-Reply-To: <4D10CB88.4040308@mlbassoc.com> References: <4D10CB88.4040308@mlbassoc.com> Date: Tue, 21 Dec 2010 16:44:25 +0000 Message-ID: <1292949865.25087.6264.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Cc: Poky 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: Tue, 21 Dec 2010 16:44:58 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2010-12-21 at 08:45 -0700, Gary Thomas wrote: > In my quest for a well-packaged Poky that I can distribute > to my customers, I'd like to give them a pre-populated $DL_DIR > tree (also in response to those customers that have little or > no net access). This would likely be in /opt/XYZ and practice > would dictate that it be read-only. > > Sadly, this doesn't work. When I try to build Poky with a > read-only $DL_DIR, it simply hangs on every 'fetch' step. > > Note: I could avoid this problem (although I think it's a > bug even if it should never be experienced) by being able > to easily provide source mirrors for the packages. So far, > I've not figured out how to do this; I'd like to add my > own mirror lists, similar to those in meta/classes/poky.bbclass > Would this be a way forward? If so, how? > > Thanks for any ideas Make the readonly directory a file:// source in PREMIRRORS. You can use the SSTATE_MIRRORS syntax in local.conf to do this without a class file. It won't actually copy them to DL_DIR if they're already local. Cheers, Richard