yocto.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: Tony He <huangya90@gmail.com>
To: yocto@lists.yoctoproject.org
Subject: How to clean the cache for a package?
Date: Tue, 11 Jan 2022 14:12:11 +0800	[thread overview]
Message-ID: <CAAUX2SUKSsK=L+iPEj6UUFQznYW1SAcy8muPZ6hSC4+XUN0kHQ@mail.gmail.com> (raw)

Hi,

I'm new to yocto. I write a reciple for my own package. The source
code of package is in my PC and maintained by GIT. When I change the
source code of the package, I need to compile this package again with
"bitbake -c clean package" and "bitbake -c compile package".
However, even though I can see the code in the folder
downloads/git2/package.git is updated, but bitbake still use the last
commit of the git repo to compile. After debugging, I found the old
commit ID is stored in build-project/cache/bb_persist_data.sqlite3. Is
this normal?
Is it caused by my own wrong reciple or is there any command to clean
the cache for a package? Thank you!

Tony


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-11  6:12 Tony He [this message]
2022-01-11  6:28 ` [yocto] How to clean the cache for a package? Chen, Qi
2022-01-11  6:55   ` Tony He

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='CAAUX2SUKSsK=L+iPEj6UUFQznYW1SAcy8muPZ6hSC4+XUN0kHQ@mail.gmail.com' \
    --to=huangya90@gmail.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;
as well as URLs for NNTP newsgroup(s).