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 1QrzD5-0006w0-Hl for garchives@archives.gentoo.org; Fri, 12 Aug 2011 21:24:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B70E21C484; Fri, 12 Aug 2011 21:23:54 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id C429721C483 for ; Fri, 12 Aug 2011 21:23:41 +0000 (UTC) Received: by gyg8 with SMTP id 8so3050766gyg.40 for ; Fri, 12 Aug 2011 14:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=6daQOdiDm32AVEPCvg+Te+qAz4oNEWnxvmS+g0ir2Yc=; b=H2rEoAL7UTpDgKpdRPmXduiCC6GJr3UN5cUJPwwpEqFm8M5wxpW0BOipXYlYjaoVg3 0Mx8Ld7cIYZek4EMuk13wK30vNwvbekK5J9Ck5AIOqxLEKou1DPv6InCUMw7fL7O4GcB CF0f1Fqe2ijZTnmSGYAYwXbbdY9sgt9Qp13Kw= Received: by 10.151.79.14 with SMTP id g14mr2496842ybl.187.1313184221096; Fri, 12 Aug 2011 14:23:41 -0700 (PDT) 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 Received: by 10.150.146.14 with HTTP; Fri, 12 Aug 2011 14:23:21 -0700 (PDT) In-Reply-To: References: From: Kfir Lavi Date: Sat, 13 Aug 2011 00:23:21 +0300 Message-ID: Subject: Re: [gentoo-embedded] Re: manually creating manifests with RESTRICT="fetch" To: gentoo-embedded@lists.gentoo.org Content-Type: multipart/alternative; boundary=00151750da2c05ea1104aa5587b3 X-Archives-Salt: X-Archives-Hash: a09ec3de82fc25a716e85ec36ca44926 --00151750da2c05ea1104aa5587b3 Content-Type: text/plain; charset=UTF-8 On Fri, Aug 12, 2011 at 9:55 PM, Christopher Friedt wrote: > On Fri, Aug 12, 2011 at 2:48 PM, Christopher Friedt > wrote: > > Is there any way to generate the manifest file using 'ebuild' so that > > it will just read the files from my DISTDIR rather than trying to > > fetch them? > > Got it... > > FETCHCOMMAND="echo" ebuild A/B/B.ebuild digest > > But this is not the solution! I have the same tree for my embedded systems, and I do the same as you. My header looks like this: EAPI="3" inherit cmake-utils flag-o-matic MY_P="${P}-Source" SRC_URI="${MY_P}.tar.bz2" RESTRICT="fetch" # This file resides locally and can't be fetched Please check the EAPI you use, maybe it needs to change. Also look close on the SRC_URI, it has just the name of the file. I'm also using repoman to generate all my manifests like this: cd portage_local_tree; repoman -f manifest This is much better way to do it. Regards, Kfir --00151750da2c05ea1104aa5587b3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Fri, Aug 12, 2011 at= 9:55 PM, Christopher Friedt <chrisfriedt@gmail.com> wrote:
On Fri, Aug 12, 2011 at 2:48 PM, Christopher Friedt
<chrisfriedt@gmail.com> = wrote:
> Is there any way to generate the manifest file using 'ebuild' = so that
> it will just read the files from my DISTDIR rather than trying to
> fetch them?

Got it...

FETCHCOMMAND=3D"echo" ebuild A/B/B.ebuild digest

But this is not the solution!
I have the same tree fo= r my embedded systems, and I do the same as you.
My header looks like th= is:
EAPI=3D"3"
inherit cmake-utils flag-o-matic
MY_P=3D&= quot;${P}-Source"
SRC_URI=3D"${MY_P}.tar.bz2"
RESTRICT=3D"fetch" # Thi= s file resides locally and can't be fetched

Please check the EAP= I you use, maybe it needs to change.
Also look close on the SRC_URI, it = has just the name of the file.
I'm also using repoman to generate all my manifests like this:
cd po= rtage_local_tree; repoman -f manifest

This is much better way to do = it.

Regards,
Kfir
--00151750da2c05ea1104aa5587b3--