From: Joshua Watt <jpewhacker@gmail.com>
To: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>,
"Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v3] externalsrc: Handle .git not being a directory
Date: Tue, 08 Aug 2017 15:57:33 -0500 [thread overview]
Message-ID: <1502225853.2652.2.camel@gmail.com> (raw)
In-Reply-To: <1502221573.1934.21.camel@linux.intel.com>
On Tue, 2017-08-08 at 14:46 -0500, Leonardo Sandoval wrote:
> On Tue, 2017-08-08 at 20:32 +0100, Burton, Ross wrote:
> > On 8 August 2017 at 02:46, Joshua Watt <jpewhacker@gmail.com>
> > wrote:
> > + git_dir = subprocess.check_output(['git',
> > 'rev-parse', '--absolute-git-dir'],
> > cwd=s_dir).decode("utf-8").rstrip()
> >
> >
> > Doesn't work with my old git:
> >
> >
> > bb.data_smart.ExpansionError: Failure expanding variable
> > do_compile[file-checksums], expression was ${@srctree_hash_files(d)
> > }
> > which triggered exception FileNotFoundError: [Errno 2] No such file
> > or
> > directory: '--absolute-git-dir/index'
> > Summary: There was 1 ERROR message shown, returning a non-zero exit
> > code.
> >
> >
> >
> > $ git rev-parse --absolute-git-dir
> > --absolute-git-dir
> > $ git --version
> > git version 2.11.0
> >
>
> I also tried it and got same log. my git is a bit newer (2.12.3).
Ok. I wasn't sure exactly when that option was added, I'll use the
older one.
>
> Leo
> >
> > Ross
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
prev parent reply other threads:[~2017-08-08 20:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-08 1:46 [PATCH v3] externalsrc: Handle .git not being a directory Joshua Watt
2017-08-08 19:32 ` Burton, Ross
2017-08-08 19:46 ` Leonardo Sandoval
2017-08-08 20:57 ` Joshua Watt [this message]
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=1502225853.2652.2.camel@gmail.com \
--to=jpewhacker@gmail.com \
--cc=leonardo.sandoval.gonzalez@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.