Return-Path: Received: from tim.rpsys.net (93-97-173-237.zone5.bethere.co.uk [93.97.173.237]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 72EA0E00320 for ; Fri, 2 Sep 2011 10:05:03 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p82H4xgW027642; Fri, 2 Sep 2011 18:04:59 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27043-05; Fri, 2 Sep 2011 18:04:55 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p82H4pgI027636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Sep 2011 18:04:52 +0100 From: Richard Purdie To: Gary Thomas In-Reply-To: <4E610865.1000305@mlbassoc.com> References: <4E610865.1000305@mlbassoc.com> Date: Fri, 02 Sep 2011 18:04:34 +0100 Message-ID: <1314983074.5939.618.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Cc: Poky Project Subject: Re: [PATCH] Update poky-feed-config-opkg to generate a useful package setup 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: Fri, 02 Sep 2011 17:05:04 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2011-09-02 at 10:46 -0600, Gary Thomas wrote: > The current poky-feed-config-opkg package only generates a skeleton for the > opkg setups. In particular, the base configuration file /etc/opkg/base-files.conf > is not filled in at all. > > The attached patch fills this file in, using variables set by the > user (local.conf, site.conf, etc). If left unset, the behaviour will > be the same as current. > > One thing I found is that opkg is very noisy if there are databases > mentioned in base-files.conf that don't exist. For example, on ARM > platforms, there are a large number of possibilities (arm, armv5, armv6, ...) > that are never populated in .../tmp/deploy/ipk. The changes to this > recipe will prune the file to only include those ipk databases which > have actual files present. Your code is one big race unfortunately since the actual file generated will depend on whether any packaging task has run before it or not (and what package type that was). I'm not sure how to fix that but it can't go in as it stands due to that... Cheers, Richard