From: Patrick Voelker <Patrick_Voelker@phoenix.com>
To: Vijay Khemka <vijaykhemka@fb.com>,
"OpenBMC (openbmc@lists.ozlabs.org)" <openbmc@lists.ozlabs.org>
Subject: RE: Using local git repo for recipe development
Date: Thu, 29 Oct 2020 21:33:23 +0000 [thread overview]
Message-ID: <20cf0460e28a4950b0b3429d77da276c@SCL-EXCHMB-13.phoenix.com> (raw)
In-Reply-To: <42E14EF0-5851-4223-A3A5-07DC8837EF29@fb.com>
Vijay, that didn't make any difference. I get the same result.
> -----Original Message-----
> From: Vijay Khemka [mailto:vijaykhemka@fb.com]
> Sent: Thursday, October 29, 2020 12:27 PM
> To: Patrick Voelker; OpenBMC (openbmc@lists.ozlabs.org)
> Subject: Re: Using local git repo for recipe development
>
>
>
> On 10/29/20, 10:17 AM, "openbmc on behalf of Patrick Voelker" <openbmc-
> bounces+vijaykhemka=fb.com@lists.ozlabs.org on behalf of
> Patrick_Voelker@phoenix.com> wrote:
>
> I'm creating a new recipe for local development but when I do a 'devtool
> modify <recipe>' it always seems to make an empty directory (that contains
> only .git.)
>
> Here's the relevant lines from my .bb file:
> SRC_URI = "git:///home/pvoelker/bmc/dev/oem;protocol=file"
>
> I am not too sure but this should be file://, You may have to fix above line.
>
> SRCREV = "4db17f482b0bdcdcf5658c7d323cc563eb78556a"
> inherit autotools
>
> Here's the warning from 'devtool modify':
> WARNING: No source unpacked to S - either the phoenix-oem recipe
> doesn't use any source or the correct source directory could not be
> determined
>
> If I change either the SRC_URI or the SRCREV to be invalid, I get an error
> instead of a warning so it's definitely finding the local repo.
>
> I can't figure out why none of the files in my commit are making it into the
> unpack directory. Any ideas or tips on debugging? I also tried using a .tar.gz
> file instead of a local git repo and had the same result.
>
next prev parent reply other threads:[~2020-10-29 21:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-29 17:14 Using local git repo for recipe development Patrick Voelker
2020-10-29 19:27 ` Vijay Khemka
2020-10-29 21:33 ` Patrick Voelker [this message]
2020-10-29 22:10 ` Vijay Khemka
2020-10-29 22:12 ` Patrick Voelker
[not found] ` <970b0009-2b37-6c46-b324-b74bd44bf539@gmail.com>
2020-10-29 23:00 ` Patrick Voelker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20cf0460e28a4950b0b3429d77da276c@SCL-EXCHMB-13.phoenix.com \
--to=patrick_voelker@phoenix.com \
--cc=openbmc@lists.ozlabs.org \
--cc=vijaykhemka@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).