Yocto Project Discussions
 help / color / mirror / Atom feed
From: ali.ahmad@rtl-corp.com
To: yocto@lists.yoctoproject.org
Subject: Re: Make recipe conditionally download code from Git Repo #yocto
Date: Sat, 10 Dec 2022 04:11:27 -0800	[thread overview]
Message-ID: <19362.1670674287260661939@lists.yoctoproject.org> (raw)
In-Reply-To: <CANNYZj8fDsCWXCRxCZBMx-ujohUu5wXmGQq1BkP_a_JsfdUHAQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]

Thank you for getting back.

Context/Use case:
My current recipe always checks out code from the git repo before building it.
During development, I want to first build my code successfully before pushing it to the repo. Hence I want the recipe to check if the code exists at a certain location on the file system. If it does, it should build that. If it doesn't it should checkout the code from the repo before building it.

Thanks

[-- Attachment #2: Type: text/html, Size: 463 bytes --]

  reply	other threads:[~2022-12-10 12:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-10 12:00 Make recipe conditionally download code from Git Repo #yocto ali.ahmad
2022-12-10 12:03 ` [yocto] " Alexander Kanavin
2022-12-10 12:11   ` ali.ahmad [this message]
2022-12-10 12:28     ` Alexander Kanavin
2022-12-10 12:31       ` ali.ahmad

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=19362.1670674287260661939@lists.yoctoproject.org \
    --to=ali.ahmad@rtl-corp.com \
    --cc=yocto@lists.yoctoproject.org \
    /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