From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O5KPP-0007H7-NE for garchives@archives.gentoo.org; Fri, 23 Apr 2010 15:03:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 552AAE091E for ; Fri, 23 Apr 2010 15:03:11 +0000 (UTC) Received: from mail1.nippynetworks.com (mail1.nippynetworks.com [212.227.250.41]) by pigeon.gentoo.org (Postfix) with ESMTP id B18C4E051C for ; Fri, 23 Apr 2010 14:50:44 +0000 (UTC) Received: from localhost (mail1.nippynetworks.com [127.0.0.1]) by mail1.nippynetworks.com (Postfix) with ESMTP id E41F46757B4 for ; Fri, 23 Apr 2010 15:50:43 +0100 (BST) X-Virus-Scanned: amavisd-new at nippynetworks.com Received: from mail1.nippynetworks.com ([127.0.0.1]) by localhost (mail1.nippynetworks.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OjgKm7gEma+v for ; Fri, 23 Apr 2010 15:50:43 +0100 (BST) Received: from eds-mbp.wildgooses.local (office.nippynetworks.com [94.194.201.187]) (Authenticated sender: edward@wildgooses.com) by mail1.nippynetworks.com (Postfix) with ESMTPSA id B94B76757B2 for ; Fri, 23 Apr 2010 15:50:42 +0100 (BST) Message-ID: <4BD1B3C2.9090604@wildgooses.com> Date: Fri, 23 Apr 2010 15:50:42 +0100 From: Ed W User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] ebuild deps and cross-compiling References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 5a5c1f84-9e29-4331-ab7e-b179335a2170 X-Archives-Hash: ca29bdf253249b2d74c73bd7295ad114 On 23/04/2010 12:20, Sergey Mironov wrote: > My system doesn't have udev. It has mdev from busybox. Openct docs > says that mdev is ok, so should i register an ebuild-bug and suggest > something like 'udev useflag'? There are util-linux dependencies, > which are also incompatible with busybox. I am in doubt. > > The "gentoo" way as near as I can see is via virtual packages, eg if there are three cron options then you install virtual/cron and various packages then provide that dependency. With udev it's a little harder to fit it into that mould (actually same with all busybox utils) because basically bb can provide different things depending on config... I think it's a hard problem to solve and a small number of affected users. Probably as a workaround you should simply set package.provided to claim you have installed udev and then all the dependencies are effectively assumed to be solved. Of course this will break down on some package that really does need proper udev, but it's probably acceptable? A use flag is probably inappropriate because that's usually used to indicate whether you want that functionality compiled or removed from a given package I guess there must be some -arm overlay that you can base from and contribute to? Anyone? Good luck Ed W